fix error on non-status notifications
This commit is contained in:
parent
afdf22675f
commit
d5fefa23fd
1 changed files with 6 additions and 4 deletions
|
|
@ -190,10 +190,12 @@ export const useNotificationsStore = defineStore('notifications', {
|
||||||
}
|
}
|
||||||
this.idStore.set(notification.id, notification)
|
this.idStore.set(notification.id, notification)
|
||||||
|
|
||||||
this.statusNotificationRelations.set(
|
if (notification.status) {
|
||||||
notification.status,
|
this.statusNotificationRelations.set(
|
||||||
this.idStore.get(notification.id),
|
notification.status,
|
||||||
)
|
this.idStore.get(notification.id),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
maybeShowNotification(
|
maybeShowNotification(
|
||||||
useMergedConfigStore().mergedConfig.notificationVisibility,
|
useMergedConfigStore().mergedConfig.notificationVisibility,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue