diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-05-08 10:01:54 +0200 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-05-11 12:06:29 +0000 |
commit | 7daced619b8307838aed2a1cf40608b7485d136d (patch) | |
tree | 3ed0fd4b570c16e2478118ebb67508051ae614ee /apps/settings/src/router.js | |
parent | 09c209d4683ce844da5e0319acc6dc83c00f372a (diff) | |
download | nextcloud-server-7daced619b8307838aed2a1cf40608b7485d136d.tar.gz nextcloud-server-7daced619b8307838aed2a1cf40608b7485d136d.zip |
Fix some linter warnings in settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/settings/src/router.js')
-rw-r--r-- | apps/settings/src/router.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/src/router.js b/apps/settings/src/router.js index d292719d384..e46947e7987 100644 --- a/apps/settings/src/router.js +++ b/apps/settings/src/router.js @@ -23,6 +23,7 @@ import Vue from 'vue' import Router from 'vue-router' +import { generateUrl } from '@nextcloud/router' // Dynamic loading const Users = () => import('./views/Users') @@ -43,7 +44,7 @@ export default new Router({ mode: 'history', // if index.php is in the url AND we got this far, then it's working: // let's keep using index.php in the url - base: OC.generateUrl(''), + base: generateUrl(''), linkActiveClass: 'active', routes: [ { |