Hack to fix streaming notification order

This commit is contained in:
Essem 2024-02-11 23:18:23 -06:00 committed by Ruben
commit a135d8a791
Signed by: sneexy
GPG key ID: 8ECFA045E63BC583

View file

@ -349,6 +349,7 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot
// Only add a new notification if we don't have one for the same action
if (!state.notifications.idStore.hasOwnProperty(notification.id)) {
updateNotificationsMinMaxId(state, notification)
notification.seen = false
state.notifications.data.push(notification)
state.notifications.idStore[notification.id] = notification