UX: keep last attendance preference when adding bulk invite row

UX: keep last attendance preference when adding bulk invite row

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 aaa06aa..71e9718 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
@@ -91,7 +91,9 @@ export default Controller.extend(ModalFunctionality, {
 
   @action
   addBulkInvite() {
-    this.bulkInvites.pushObject({ identifier: null, attendance: "unknown" });
+    const attendance =
+      this.bulkInvites.get("lastObject.attendance") || "unknown";
+    this.bulkInvites.pushObject({ identifier: null, attendance });
   },
 
   @action

GitHub sha: d8ea5776