summaryrefslogtreecommitdiff
path: root/public/js/modules/event-edit.js
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2024-02-25 21:34:33 +0000
committerRaphael Kabo <raphaelkabo@hey.com>2024-02-26 00:11:03 +0000
commitb3c9cba6478dc16d135313aa6d0adcc02d67ece6 (patch)
tree508ef236dc805b950fedeeca7f8dd3559d66a162 /public/js/modules/event-edit.js
parentafd9fc4477fff90e5db917f350d99c3d01fba2bd (diff)
feat: optional public events/groups
Diffstat (limited to 'public/js/modules/event-edit.js')
-rw-r--r--public/js/modules/event-edit.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/modules/event-edit.js b/public/js/modules/event-edit.js
index 740c861..736547f 100644
--- a/public/js/modules/event-edit.js
+++ b/public/js/modules/event-edit.js
@@ -32,6 +32,7 @@ function editEventForm() {
creatorEmail: window.eventData.creatorEmail,
eventGroupID: window.eventData.eventGroupID,
eventGroupEditToken: window.eventData.eventGroupEditToken,
+ publicCheckbox: window.eventData.showOnPublicList,
interactionCheckbox: window.eventData.usersCanComment,
joinCheckbox: window.eventData.usersCanAttend,
maxAttendeesCheckbox: window.eventData.maxAttendees !== null,
@@ -53,6 +54,7 @@ function editEventForm() {
this.data.joinCheckbox = window.eventData.usersCanAttend;
this.data.maxAttendeesCheckbox =
window.eventData.maxAttendees !== null;
+ this.data.publicCheckbox = window.eventData.showOnPublicList;
},
async submitForm() {
this.submitting = true;