Skip to content
Snippets Groups Projects
Commit 444c8584 authored by http://jneen.net/'s avatar http://jneen.net/
Browse files

use safe navigation on notification_setting

parent c2dd4239
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -31,7 +31,7 @@ class NotificationRecipient
@notification_level ||=
case raw_notification_level
when :custom
if @custom_action && notification_setting.event_enabled?(@custom_action)
if @custom_action && notification_setting&.event_enabled?(@custom_action)
:watch
else
:custom
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment