diff options
Diffstat (limited to 'apps/settings/src/main-personal-info.js')
-rw-r--r-- | apps/settings/src/main-personal-info.js | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/apps/settings/src/main-personal-info.js b/apps/settings/src/main-personal-info.js index d3cfd3ec9cc..1ebaae0fc8e 100644 --- a/apps/settings/src/main-personal-info.js +++ b/apps/settings/src/main-personal-info.js @@ -26,15 +26,16 @@ import { loadState } from '@nextcloud/initial-state' import { translate as t } from '@nextcloud/l10n' import '@nextcloud/dialogs/styles/toast.scss' -import DisplayNameSection from './components/PersonalInfo/DisplayNameSection/DisplayNameSection' -import EmailSection from './components/PersonalInfo/EmailSection/EmailSection' -import LanguageSection from './components/PersonalInfo/LanguageSection/LanguageSection' -import ProfileSection from './components/PersonalInfo/ProfileSection/ProfileSection' -import OrganisationSection from './components/PersonalInfo/OrganisationSection/OrganisationSection' -import RoleSection from './components/PersonalInfo/RoleSection/RoleSection' -import HeadlineSection from './components/PersonalInfo/HeadlineSection/HeadlineSection' -import BiographySection from './components/PersonalInfo/BiographySection/BiographySection' -import ProfileVisibilitySection from './components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection' +import DisplayNameSection from './components/PersonalInfo/DisplayNameSection.vue' +import EmailSection from './components/PersonalInfo/EmailSection/EmailSection.vue' +import TwitterSection from './components/PersonalInfo/TwitterSection.vue' +import LanguageSection from './components/PersonalInfo/LanguageSection/LanguageSection.vue' +import ProfileSection from './components/PersonalInfo/ProfileSection/ProfileSection.vue' +import OrganisationSection from './components/PersonalInfo/OrganisationSection.vue' +import RoleSection from './components/PersonalInfo/RoleSection.vue' +import HeadlineSection from './components/PersonalInfo/HeadlineSection.vue' +import BiographySection from './components/PersonalInfo/BiographySection.vue' +import ProfileVisibilitySection from './components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue' __webpack_nonce__ = btoa(getRequestToken()) @@ -48,10 +49,12 @@ Vue.mixin({ const DisplayNameView = Vue.extend(DisplayNameSection) const EmailView = Vue.extend(EmailSection) +const TwitterView = Vue.extend(TwitterSection) const LanguageView = Vue.extend(LanguageSection) new DisplayNameView().$mount('#vue-displayname-section') new EmailView().$mount('#vue-email-section') +new TwitterView().$mount('#vue-twitter-section') new LanguageView().$mount('#vue-language-section') if (profileEnabledGlobally) { |