Refactor
This commit is contained in:
@@ -143,7 +143,7 @@ export default defineComponent({
|
||||
os.post();
|
||||
},
|
||||
|
||||
async onNotification(notification) {
|
||||
onNotification(notification) {
|
||||
if (this.$store.state.i.mutingNotificationTypes.includes(notification.type)) {
|
||||
return;
|
||||
}
|
||||
@@ -153,7 +153,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