diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-03 15:12:18 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:14:53 +0100 |
commit | dd7bf0f902570d4561c07237ea9072f4fc1d3edc (patch) | |
tree | 0116d397d454e95f1ebbd584230f16820c5ebd72 /apps/user_status | |
parent | 806a176a57526b55c18817577325509dfb4ef648 (diff) | |
download | nextcloud-server-dd7bf0f902570d4561c07237ea9072f4fc1d3edc.tar.gz nextcloud-server-dd7bf0f902570d4561c07237ea9072f4fc1d3edc.zip |
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/user_status')
-rw-r--r-- | apps/user_status/src/dashboard.js | 6 | ||||
-rw-r--r-- | apps/user_status/src/menu.js | 6 |
2 files changed, 1 insertions, 11 deletions
diff --git a/apps/user_status/src/dashboard.js b/apps/user_status/src/dashboard.js index 8b85b695f77..f419003f34d 100644 --- a/apps/user_status/src/dashboard.js +++ b/apps/user_status/src/dashboard.js @@ -21,17 +21,13 @@ */ import Vue from 'vue' -import { generateFilePath } from '@nextcloud/router' import { getRequestToken } from '@nextcloud/auth' import { translate, translatePlural } from '@nextcloud/l10n' import Dashboard from './views/Dashboard' -// eslint-disable-next-line +// eslint-disable-next-line camelcase __webpack_nonce__ = btoa(getRequestToken()) -// eslint-disable-next-line -__webpack_public_path__ = generateFilePath('user_status', '', 'js/') - Vue.prototype.t = translate Vue.prototype.n = translatePlural Vue.prototype.OC = OC diff --git a/apps/user_status/src/menu.js b/apps/user_status/src/menu.js index be10d700f08..3c29f61cc0c 100644 --- a/apps/user_status/src/menu.js +++ b/apps/user_status/src/menu.js @@ -31,12 +31,6 @@ import Avatar from '@nextcloud/vue/dist/Components/Avatar' // eslint-disable-next-line camelcase __webpack_nonce__ = btoa(getRequestToken()) -// Correct the root of the app for chunk loading -// OC.linkTo matches the apps folders -// OC.generateUrl ensure the index.php (or not) -// eslint-disable-next-line -__webpack_public_path__ = OC.linkTo('user_status', 'js/') - Vue.prototype.t = t Vue.prototype.$t = t |