FIX: display post errors when deleting even if post empty

FIX: display post errors when deleting even if post empty

diff --git a/assets/javascripts/discourse/controllers/discourse-post-event-builder.js.es6 b/assets/javascripts/discourse/controllers/discourse-post-event-builder.js.es6
index 58fb17b..4277d64 100644
--- a/assets/javascripts/discourse/controllers/discourse-post-event-builder.js.es6
+++ b/assets/javascripts/discourse/controllers/discourse-post-event-builder.js.es6
@@ -68,21 +68,20 @@ export default Controller.extend(ModalFunctionality, {
               const raw = post.raw;
               const newRaw = this._removeRawEvent(raw);
 
-              if (newRaw) {
-                const props = {
-                  raw: newRaw,
-                  edit_reason: I18n.t("discourse_post_event.destroy_event")
-                };
-
-                return TextLib.cookAsync(newRaw).then(cooked => {
-                  props.cooked = cooked.string;
-                  return post
-                    .save(props)
-                    .catch(e => this.flash(extractError(e), "error"))
-                    .then(result => result && this.send("closeModal"));
-                });
-              }
-            });
+              const props = {
+                raw: newRaw,
+                edit_reason: I18n.t("discourse_post_event.destroy_event")
+              };
+
+              return TextLib.cookAsync(newRaw).then(cooked => {
+                props.cooked = cooked.string;
+                return post
+                  .save(props)
+                  .catch(e => this.flash(extractError(e), "error"))
+                  .then(result => result && this.send("closeModal"));
+              });
+            })
+            .catch(e => this.flash(extractError(e), "error"));
         }
       }
     );

GitHub sha: 4e31880f