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)