Compare commits

...

2 commits

Author SHA1 Message Date
Henry Jameson
7514891106 Merge branch 'users-statuses-pinia' into shigusegubu-themes3 2026-08-21 16:23:49 +03:00
Henry Jameson
d5fefa23fd fix error on non-status notifications 2026-08-21 16:23:38 +03:00

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,