FIX: do not show destroy post event button if event is not created

This commit is contained in:
jjaffeux 2020-05-04 11:38:26 +02:00
parent 4065f4ba3d
commit 436de401a9
1 changed files with 6 additions and 6 deletions

View File

@ -89,11 +89,11 @@
icon="calendar-day"
action=(action "updateEvent")
}}
{{/if}}
{{d-button
icon="trash-alt"
class="btn-danger"
action="destroyPostEvent"
}}
{{d-button
icon="trash-alt"
class="btn-danger"
action="destroyPostEvent"
}}
{{/if}}
</div>