From 402efb8c50670ad0e26c4dac8bc325128d81d4f1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 14 Nov 2018 01:40:29 +0900 Subject: [PATCH] [Client] Fix imports --- src/client/app/desktop/views/components/settings.vue | 12 ++++++------ src/client/app/mobile/views/pages/settings.vue | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue index 92ef3a389c..d652c2def1 100644 --- a/src/client/app/desktop/views/components/settings.vue +++ b/src/client/app/desktop/views/components/settings.vue @@ -302,12 +302,12 @@ export default Vue.extend({ XApps, XSignins, XTags, - XTheme: () => import('../../../common/views/components/theme.vue'), - XDriveSettings: () => import('../../../common/views/components/drive-settings.vue'), - XMuteAndBlock: () => import('../../../common/views/components/mute-and-block.vue'), - XPasswordSettings: () => import('../../../common/views/components/password-settings.vue'), - XProfileEditor: () => import('../../../common/views/components/profile-editor.vue'), - XApiSettings: () => import('../../../common/views/components/api-settings.vue'), + XTheme: () => import('../../../common/views/components/theme.vue').then(m => m.default), + XDriveSettings: () => import('../../../common/views/components/drive-settings.vue').then(m => m.default), + XMuteAndBlock: () => import('../../../common/views/components/mute-and-block.vue').then(m => m.default), + XPasswordSettings: () => import('../../../common/views/components/password-settings.vue').then(m => m.default), + XProfileEditor: () => import('../../../common/views/components/profile-editor.vue').then(m => m.default), + XApiSettings: () => import('../../../common/views/components/api-settings.vue').then(m => m.default), }, props: { initialPage: { diff --git a/src/client/app/mobile/views/pages/settings.vue b/src/client/app/mobile/views/pages/settings.vue index 65278540b2..2bd64b6270 100644 --- a/src/client/app/mobile/views/pages/settings.vue +++ b/src/client/app/mobile/views/pages/settings.vue @@ -184,12 +184,12 @@ export default Vue.extend({ i18n: i18n('mobile/views/pages/settings.vue'), components: { - XTheme: () => import('../../../common/views/components/theme.vue'), - XDriveSettings: () => import('../../../common/views/components/drive-settings.vue'), - XMuteAndBlock: () => import('../../../common/views/components/mute-and-block.vue'), - XPasswordSettings: () => import('../../../common/views/components/password-settings.vue'), - XProfileEditor: () => import('../../../common/views/components/profile-editor.vue'), - XApiSettings: () => import('../../../common/views/components/api-settings.vue'), + XTheme: () => import('../../../common/views/components/theme.vue').then(m => m.default), + XDriveSettings: () => import('../../../common/views/components/drive-settings.vue').then(m => m.default), + XMuteAndBlock: () => import('../../../common/views/components/mute-and-block.vue').then(m => m.default), + XPasswordSettings: () => import('../../../common/views/components/password-settings.vue').then(m => m.default), + XProfileEditor: () => import('../../../common/views/components/profile-editor.vue').then(m => m.default), + XApiSettings: () => import('../../../common/views/components/api-settings.vue').then(m => m.default), }, data() {