From 0022b0cb2ee7f07b6895fa4befb7bc08a0401352 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 17 Jan 2017 20:37:54 +0100 Subject: [PATCH] Fix forgotten change of settings --- app/assets/javascripts/components/actions/notifications.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/components/actions/notifications.jsx b/app/assets/javascripts/components/actions/notifications.jsx index 1b19808f03..23bdcb5c7a 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,