summaryrefslogtreecommitdiff
path: root/app/views/shared/notifications/_custom_notifications.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/notifications/_custom_notifications.html.haml')
-rw-r--r--app/views/shared/notifications/_custom_notifications.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/notifications/_custom_notifications.html.haml b/app/views/shared/notifications/_custom_notifications.html.haml
index a736bfd91e2..708adbc38f1 100644
--- a/app/views/shared/notifications/_custom_notifications.html.haml
+++ b/app/views/shared/notifications/_custom_notifications.html.haml
@@ -25,7 +25,7 @@
.form-group
.checkbox{ class: ("prepend-top-0" if index == 0) }
%label{ for: field_id }
- = check_box("notification_setting", event, id: field_id, class: "js-custom-notification-event", checked: notification_setting.events[event])
+ = check_box("notification_setting", event, id: field_id, class: "js-custom-notification-event", checked: notification_setting.public_send(event))
%strong
= notification_event_name(event)
= icon("spinner spin", class: "custom-notification-event-loading")