Refactor
This commit is contained in:
@ -235,7 +235,7 @@ export default defineComponent({
|
||||
}], e);
|
||||
},
|
||||
|
||||
async onNotification(notification) {
|
||||
onNotification(notification) {
|
||||
if (this.$store.state.i.mutingNotificationTypes.includes(notification.type)) {
|
||||
return;
|
||||
}
|
||||
@ -244,7 +244,7 @@ export default defineComponent({
|
||||
id: notification.id
|
||||
});
|
||||
|
||||
os.popup(await import('@/components/toast.vue'), {
|
||||
os.popup(import('@/components/toast.vue'), {
|
||||
notification
|
||||
}, {}, 'closed');
|
||||
}
|
||||
|
Reference in New Issue
Block a user