Fix the `notificationsUpdate` call (#27758)

main
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
1 changed files with 1 additions and 1 deletions

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]);
} else if (playSound && !filtered) {