Fix the notificationsUpdate call (#27758)

This commit is contained in:
Renaud Chaput 2023-11-07 15:18:59 +01:00 committed by GitHub
parent 45770c9306
commit f476d9dab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ export function updateNotifications(notification, intlMessages, intlLocale) {
} }
dispatch(notificationsUpdate(notification, preferPendingItems, playSound && !filtered)); dispatch(notificationsUpdate({ notification, preferPendingItems, playSound: playSound && !filtered}));
fetchRelatedRelationships(dispatch, [notification]); fetchRelatedRelationships(dispatch, [notification]);
} else if (playSound && !filtered) { } else if (playSound && !filtered) {