summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2023-10-10 10:51:17 +0100
committerRaphael Kabo <raphaelkabo@hey.com>2023-10-10 10:51:17 +0100
commit6939db870a01d4efcabe8e94b33751d371fdfee1 (patch)
tree89f33753fb713a8ea4fecee99ba80fabc1b4a80b /public
parent116a1ac2025c891371f6f5f33b6e39aca23a098b (diff)
Fix display bug with event group linker
Diffstat (limited to 'public')
-rw-r--r--public/js/modules/event-edit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/modules/event-edit.js b/public/js/modules/event-edit.js
index 0a295cb..ad3f2c5 100644
--- a/public/js/modules/event-edit.js
+++ b/public/js/modules/event-edit.js
@@ -49,7 +49,7 @@ function editEventForm() {
this.data.timezone = this.select2.val();
// Set checkboxes
- this.data.eventGroupCheckbox = window.eventData.eventGroupID !== "";
+ this.data.eventGroupCheckbox = !!window.eventData.eventGroupID;
this.data.interactionCheckbox = window.eventData.usersCanComment;
this.data.joinCheckbox = window.eventData.usersCanAttend;
this.data.maxAttendeesCheckbox =