FIX: do not show destroy post event button if event is not created
This commit is contained in:
parent
4065f4ba3d
commit
436de401a9
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue