fix error on non-status notifications

This commit is contained in:
Henry Jameson 2026-08-21 16:23:19 +03:00
commit d5fefa23fd

View file

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