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.idStore.set(notification.id, notification)
if (notification.status) {
this.statusNotificationRelations.set( this.statusNotificationRelations.set(
notification.status, notification.status,
this.idStore.get(notification.id), this.idStore.get(notification.id),
) )
}
maybeShowNotification( maybeShowNotification(
useMergedConfigStore().mergedConfig.notificationVisibility, useMergedConfigStore().mergedConfig.notificationVisibility,