Fix forgotten change of settings

lolsob-rspec
Eugen Rochko 2017-01-17 20:37:54 +01:00
parent 40a5094434
commit 0022b0cb2e
1 changed files with 2 additions and 2 deletions

View File

@ -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,