fix notifications counter not taking into account unseen setting
This commit is contained in:
parent
bf42865016
commit
a50ea7f278
3 changed files with 3 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ export const unseenNotificationsFromStore = (
|
|||
) => {
|
||||
return filteredNotificationsFromStore(store, notificationVisibility).filter(
|
||||
({ seen, type }) => {
|
||||
console.log(ignoreInactionableSeen)
|
||||
if (!ignoreInactionableSeen) return !seen
|
||||
if (seen) return false
|
||||
return ACTIONABLE_NOTIFICATION_TYPES.has(type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue