From a50ea7f278d59ba0023c2e3e09a8f1aa88e83823 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 7 May 2026 10:44:18 +0300 Subject: [PATCH] fix notifications counter not taking into account unseen setting --- src/components/notifications/notifications.js | 1 + src/components/side_drawer/side_drawer.js | 1 + src/services/notification_utils/notification_utils.js | 1 + 3 files changed, 3 insertions(+) diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index 564fae7f2..96263d93b 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -79,6 +79,7 @@ const Notifications = { return unseenNotificationsFromStore( this.$store, useMergedConfigStore().mergedConfig.notificationVisibility, + useMergedConfigStore().mergedConfig.ignoreInactionableSeen, ) }, filteredNotifications() { diff --git a/src/components/side_drawer/side_drawer.js b/src/components/side_drawer/side_drawer.js index fd2157e29..f2b9f3297 100644 --- a/src/components/side_drawer/side_drawer.js +++ b/src/components/side_drawer/side_drawer.js @@ -76,6 +76,7 @@ const SideDrawer = { return unseenNotificationsFromStore( this.$store, useMergedConfigStore().mergedConfig.notificationVisibility, + useMergedConfigStore().mergedConfig.ignoreInactionableSeen, ) }, unseenNotificationsCount() { diff --git a/src/services/notification_utils/notification_utils.js b/src/services/notification_utils/notification_utils.js index 1fbaf2a2c..6df02d9b3 100644 --- a/src/services/notification_utils/notification_utils.js +++ b/src/services/notification_utils/notification_utils.js @@ -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)