Merge branch 'issue-380-noification-unread' into 'develop'
#380: fix false alarm for unread notifications Closes #380 See merge request pleroma/pleroma-fe!614
This commit is contained in:
commit
d5348c13ff
2 changed files with 13 additions and 1 deletions
|
@ -303,6 +303,8 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot
|
|||
setTimeout(notification.close.bind(notification), 5000)
|
||||
}
|
||||
}
|
||||
} else if (notification.seen) {
|
||||
state.notifications.idStore[notification.id].seen = true
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue