diff --git a/src/stores/notifications.js b/src/stores/notifications.js index 99d56e0d0..a12ce8133 100644 --- a/src/stores/notifications.js +++ b/src/stores/notifications.js @@ -190,10 +190,12 @@ export const useNotificationsStore = defineStore('notifications', { } this.idStore.set(notification.id, notification) - this.statusNotificationRelations.set( - notification.status, - this.idStore.get(notification.id), - ) + if (notification.status) { + this.statusNotificationRelations.set( + notification.status, + this.idStore.get(notification.id), + ) + } maybeShowNotification( useMergedConfigStore().mergedConfig.notificationVisibility,