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

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

diff --git a/assets/javascripts/discourse/templates/modal/discourse-post-event-builder.hbs b/assets/javascripts/discourse/templates/modal/discourse-post-event-builder.hbs
index 668fdd4..e1cf203 100644
--- a/assets/javascripts/discourse/templates/modal/discourse-post-event-builder.hbs
+++ b/assets/javascripts/discourse/templates/modal/discourse-post-event-builder.hbs
@@ -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>

GitHub sha: 436de401