fix notifications counter not taking into account unseen setting

This commit is contained in:
Henry Jameson 2026-05-07 10:44:18 +03:00
commit a50ea7f278
3 changed files with 3 additions and 0 deletions

View file

@ -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)