Browse Source

Fix forgotten change of settings

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
7cfd5b680a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/assets/javascripts/components/actions/notifications.jsx

+ 2
- 2
app/assets/javascripts/components/actions/notifications.jsx 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,

Loading…
Cancel
Save