about summary refs log tree commit diff
path: root/app/assets/javascripts/components/actions
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-17 20:37:54 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-17 20:37:54 +0100
commit7cfd5b680a64e2dcdc375274d9619e8ab2e2bb9f (patch)
tree476c615e54a0fee35e47a15881d19582b7b389db /app/assets/javascripts/components/actions
parentc468446f4c52b089cfe1507d2ca79f36f39614ef (diff)
Fix forgotten change of settings
Diffstat (limited to 'app/assets/javascripts/components/actions')
-rw-r--r--app/assets/javascripts/components/actions/notifications.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/actions/notifications.jsx b/app/assets/javascripts/components/actions/notifications.jsx
index 1b19808f0..23bdcb5c7 100644
--- a/app/assets/javascripts/components/actions/notifications.jsx
+++ b/app/assets/javascripts/components/actions/notifications.jsx
@@ -24,8 +24,8 @@ const fetchRelatedRelationships = (dispatch, notifications) => {
 
 export function updateNotifications(notification, intlMessages, intlLocale) {
   return (dispatch, getState) => {
-    const showAlert = getState().getIn(['notifications', 'settings', 'alerts', notification.type], true);
-    const playSound = getState().getIn(['notifications', 'settings', 'sounds', notification.type], true);
+    const showAlert = getState().getIn(['settings', 'notifications', 'alerts', notification.type], true);
+    const playSound = getState().getIn(['settings', 'notifications', 'sounds', notification.type], true);
 
     dispatch({
       type: NOTIFICATIONS_UPDATE,