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 class="event-participation has-text-right" v-if="new Date(endDate) > new Date()">
|
||||
<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]"
|
||||
:current-actor="currentActor"
|
||||
@joinEvent="joinEvent"
|
||||
|
Loading…
Reference in New Issue
Block a user