summaryrefslogtreecommitdiffstats
path: root/core/src/profile.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/profile.js')
-rw-r--r--core/src/profile.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/core/src/profile.js b/core/src/profile.js
index 5e3711841a6..79465c6a28d 100644
--- a/core/src/profile.js
+++ b/core/src/profile.js
@@ -25,12 +25,22 @@ import { getRequestToken } from '@nextcloud/auth'
import { translate as t } from '@nextcloud/l10n'
import VTooltip from 'v-tooltip'
-import logger from './logger'
+import logger from './logger.js'
-import Profile from './views/Profile'
+import Profile from './views/Profile.vue'
+import ProfileSections from './profile/ProfileSections.js'
__webpack_nonce__ = btoa(getRequestToken())
+if (!window.OCA) {
+ window.OCA = {}
+}
+
+if (!window.OCA.Core) {
+ window.OCA.Core = {}
+}
+Object.assign(window.OCA.Core, { ProfileSections: new ProfileSections() })
+
Vue.use(VTooltip)
Vue.mixin({