forked from potsda.mn/mobilizon
Hide the participation button when event is cancelled
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
534ff09674
commit
f475b713a1
|
@ -34,7 +34,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="event-participation has-text-right" v-if="new Date(endDate) > new Date()">
|
<div class="event-participation has-text-right" v-if="new Date(endDate) > new Date()">
|
||||||
<participation-button
|
<participation-button
|
||||||
v-if="currentActor.id && !actorIsOrganizer && !event.draft && (eventCapacityOK || actorIsParticipant)"
|
v-if="currentActor.id && !actorIsOrganizer && !event.draft && (eventCapacityOK || actorIsParticipant) && event.status !== EventStatus.CANCELLED"
|
||||||
:participation="participations[0]"
|
:participation="participations[0]"
|
||||||
:current-actor="currentActor"
|
:current-actor="currentActor"
|
||||||
@joinEvent="joinEvent"
|
@joinEvent="joinEvent"
|
||||||
|
|
Loading…
Reference in a new issue