FIX: safely set one key/value of bulkInvites (#173)

FIX: safely set one key/value of bulkInvites (#173)

diff --git a/assets/javascripts/discourse/controllers/discourse-post-event-bulk-invite.js.es6 b/assets/javascripts/discourse/controllers/discourse-post-event-bulk-invite.js.es6
index 943e54b..2bf4813 100644
--- a/assets/javascripts/discourse/controllers/discourse-post-event-bulk-invite.js.es6
+++ b/assets/javascripts/discourse/controllers/discourse-post-event-bulk-invite.js.es6
@@ -93,7 +93,9 @@ export default Controller.extend(ModalFunctionality, {
   addBulkInvite() {
     const attendance =
       this.bulkInvites.get("lastObject.attendance") || "unknown";
-    this.bulkInvites.pushObject({ identifier: null, attendance });
+    this.bulkInvites.pushObject(
+      EmberObject.create({ identifier: null, attendance })
+    );
   },
 
   @action

GitHub sha: edaeeb240223f0fe4ce5ea34e5f2bea8cbdf3cf5

This commit appears in #173 which was approved by ZogStriP. It was merged by jjaffeux.