From b89bf97c9aeb20bf2842302fe45b06f2c2a2affd Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 20 Sep 2020 12:07:15 +0900 Subject: [PATCH] Update notifications.vue --- src/client/widgets/notifications.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/notifications.vue b/src/client/widgets/notifications.vue index 37a8391b84..6039ddcdc1 100644 --- a/src/client/widgets/notifications.vue +++ b/src/client/widgets/notifications.vue @@ -51,9 +51,9 @@ export default defineComponent({ methods: { async configure() { - os.modal(await import('@/components/notification-setting-window.vue'), { + os.modal(await import('@/components/notification-setting-window.vue').then(x => x.default), { includingTypes: this.props.includingTypes, - }).$on('ok', async ({ includingTypes }) => { + }).then(async ({ includingTypes }) => { this.props.includingTypes = includingTypes; this.save(); });