#380: simply and remove redundancy
This commit is contained in:
parent
4e8b696797
commit
7dbbd8e270
|
@ -304,7 +304,6 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot
|
|||
}
|
||||
}
|
||||
} else if (notification.seen) {
|
||||
state.notifications.data.find(n => n.id === notification.id).seen = true
|
||||
state.notifications.idStore[notification.id].seen = true
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue