diff --git a/src/web/app/common/views/components/index.ts b/src/web/app/common/views/components/index.ts index a61022dbe0..bde313910e 100644 --- a/src/web/app/common/views/components/index.ts +++ b/src/web/app/common/views/components/index.ts @@ -17,6 +17,7 @@ import ellipsis from './ellipsis.vue'; import messaging from './messaging.vue'; import messagingRoom from './messaging-room.vue'; import urlPreview from './url-preview.vue'; +import twitterSetting from './twitter-setting.vue'; Vue.component('mk-signin', signin); Vue.component('mk-signup', signup); @@ -35,3 +36,4 @@ Vue.component('mk-ellipsis', ellipsis); Vue.component('mk-messaging', messaging); Vue.component('mk-messaging-room', messagingRoom); Vue.component('mk-url-preview', urlPreview); +Vue.component('mk-twitter-setting', twitterSetting); diff --git a/src/web/app/desktop/scripts/password-dialog.ts b/src/web/app/desktop/scripts/password-dialog.ts deleted file mode 100644 index 39d7f3db7a..0000000000 --- a/src/web/app/desktop/scripts/password-dialog.ts +++ /dev/null @@ -1,11 +0,0 @@ -import * as riot from 'riot'; - -export default (title, onOk, onCancel) => { - const dialog = document.body.appendChild(document.createElement('mk-input-dialog')); - return (riot as any).mount(dialog, { - title: title, - type: 'password', - onOk: onOk, - onCancel: onCancel - }); -}; diff --git a/src/web/app/desktop/views/components/password-setting.vue b/src/web/app/desktop/views/components/password-setting.vue deleted file mode 100644 index 883a494cce..0000000000 --- a/src/web/app/desktop/views/components/password-setting.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - diff --git a/src/web/app/desktop/views/components/2fa-setting.vue b/src/web/app/desktop/views/components/settings.2fa.vue similarity index 68% rename from src/web/app/desktop/views/components/2fa-setting.vue rename to src/web/app/desktop/views/components/settings.2fa.vue index 8271cbbf36..87783e799d 100644 --- a/src/web/app/desktop/views/components/2fa-setting.vue +++ b/src/web/app/desktop/views/components/settings.2fa.vue @@ -1,16 +1,16 @@