forked from AkkomaGang/akkoma-fe
Hack to fix streaming notification order
This commit is contained in:
parent
672f50eec1
commit
da8063b54b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue