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.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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue