#380: fix false alarm for unread notifications

This commit is contained in:
dave 2019-02-25 12:12:49 -05:00
parent 1dd7120e16
commit 4e8b696797
2 changed files with 14 additions and 1 deletions

View file

@ -303,6 +303,9 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot
setTimeout(notification.close.bind(notification), 5000)
}
}
} else if (notification.seen) {
state.notifications.data.find(n => n.id === notification.id).seen = true
state.notifications.idStore[notification.id].seen = true
}
})
}