summaryrefslogtreecommitdiffstats
path: root/src/router
diff options
context:
space:
mode:
authorVassilis Kritharakis <bkrith@hotmail.com>2022-05-02 02:27:54 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-09-22 18:07:46 +0200
commit9038e7d71f2e184fb16b5fafa4b4a6a1f07695a3 (patch)
tree177d788653e918c45dce0f3dd889e533e6c011ca /src/router
parent503b84e6fadd9650c8b688bbe89ff69e2cf85bd3 (diff)
Add org charts
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Vassilis Kritharakis <bkrith@hotmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src/router')
-rw-r--r--src/router/index.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/router/index.js b/src/router/index.js
index 985fda48..e0fe4df7 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -24,7 +24,7 @@ import Vue from 'vue'
import Router from 'vue-router'
import { generateUrl } from '@nextcloud/router'
-import { ROUTE_CIRCLE } from '../models/constants.ts'
+import { ROUTE_CIRCLE, ROUTE_CHART } from '../models/constants.ts'
import Contacts from '../views/Contacts'
Vue.use(Router)
@@ -48,6 +48,11 @@ export default new Router({
},
children: [
{
+ path: `/${ROUTE_CHART}/:selectedChart`,
+ name: 'chart',
+ component: Contacts,
+ },
+ {
path: 'import',
name: 'import',
component: Contacts,