Hide the participation button when event is cancelled
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
5e7c646225
commit
c5b9eac2db
@ -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