Fix participant condition in list_with_period.html.twig

Updated the condition to properly handle cases where the first participation's person is not the current person.
This commit is contained in:
Julien Fastré 2025-06-04 16:54:44 +02:00
parent 67c1dfa42b
commit a35d456308
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -96,7 +96,7 @@
</div>
{% endif %}
{% if acp.currentParticipations|length > 1 %}
{% if acp.currentParticipations|length > 1 or (acp.currentParticipations|first).person is not same as person %}
<div class="wl-row">
<div class="wl-col title">
<h3 class="participants">