diff --git a/src/client/components/autocomplete.vue b/src/client/components/autocomplete.vue index 27a8fcdcb4..2ec6e8a3b9 100644 --- a/src/client/components/autocomplete.vue +++ b/src/client/components/autocomplete.vue @@ -376,7 +376,7 @@ export default defineComponent({ chooseUser() { this.close(); - const vm = this.$root.new(MkUserSelect, {}); + const vm = os.popup(MkUserSelect, {}); vm.$once('selected', user => { this.complete('user', user); }); diff --git a/src/client/components/deck/notifications-column.vue b/src/client/components/deck/notifications-column.vue index c6f6b2bbdb..a8ffbaa575 100644 --- a/src/client/components/deck/notifications-column.vue +++ b/src/client/components/deck/notifications-column.vue @@ -43,7 +43,7 @@ export default defineComponent({ icon: faCog, text: this.$t('notificationSetting'), action: async () => { - this.$root.new(await import('../notification-setting-window.vue'), { + os.popup(await import('../notification-setting-window.vue'), { includingTypes: this.column.includingTypes, }).$on('ok', async ({ includingTypes }) => { this.$set(this.column, 'includingTypes', includingTypes); diff --git a/src/client/components/dialog.vue b/src/client/components/dialog.vue index 52d9dea8b1..9aab76c730 100644 --- a/src/client/components/dialog.vue +++ b/src/client/components/dialog.vue @@ -1,5 +1,5 @@