aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/main-personal-info.js
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-07-20 00:23:32 +0000
committerChristopher Ng <chrng8@gmail.com>2022-08-25 23:52:33 +0000
commitdd7cb9784f5334b6057bfdb015ada39a35c1ddd9 (patch)
tree678a99d2619a41f0e682e54ac9f76d23aa5b32f1 /apps/settings/src/main-personal-info.js
parent38d0419f14ad70dbd82ef18946846b8ce3ea1682 (diff)
downloadnextcloud-server-dd7cb9784f5334b6057bfdb015ada39a35c1ddd9.tar.gz
nextcloud-server-dd7cb9784f5334b6057bfdb015ada39a35c1ddd9.zip
Remake location property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/src/main-personal-info.js')
-rw-r--r--apps/settings/src/main-personal-info.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings/src/main-personal-info.js b/apps/settings/src/main-personal-info.js
index 1ebaae0fc8e..431c8b71d37 100644
--- a/apps/settings/src/main-personal-info.js
+++ b/apps/settings/src/main-personal-info.js
@@ -28,6 +28,7 @@ import '@nextcloud/dialogs/styles/toast.scss'
import DisplayNameSection from './components/PersonalInfo/DisplayNameSection.vue'
import EmailSection from './components/PersonalInfo/EmailSection/EmailSection.vue'
+import LocationSection from './components/PersonalInfo/LocationSection.vue'
import TwitterSection from './components/PersonalInfo/TwitterSection.vue'
import LanguageSection from './components/PersonalInfo/LanguageSection/LanguageSection.vue'
import ProfileSection from './components/PersonalInfo/ProfileSection/ProfileSection.vue'
@@ -49,11 +50,13 @@ Vue.mixin({
const DisplayNameView = Vue.extend(DisplayNameSection)
const EmailView = Vue.extend(EmailSection)
+const LocationView = Vue.extend(LocationSection)
const TwitterView = Vue.extend(TwitterSection)
const LanguageView = Vue.extend(LanguageSection)
new DisplayNameView().$mount('#vue-displayname-section')
new EmailView().$mount('#vue-email-section')
+new LocationView().$mount('#vue-location-section')
new TwitterView().$mount('#vue-twitter-section')
new LanguageView().$mount('#vue-language-section')