Mercurial > gemma
comparison client/src/router.js @ 2212:733cfc3db48a pdf-export
started pdf template administration
moved templates to vuex store, to have them available in pdf box and systen configuration.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Wed, 06 Feb 2019 16:19:16 +0100 |
parents | 11669276e197 |
children | 5f3110aa1ad1 |
comparison
equal
deleted
inserted
replaced
2211:e901f509bfcd | 2212:733cfc3db48a |
---|---|
63 } | 63 } |
64 }, | 64 }, |
65 { | 65 { |
66 path: "/systemconfiguration", | 66 path: "/systemconfiguration", |
67 name: "systemconfiguration", | 67 name: "systemconfiguration", |
68 component: () => import("./components/Systemconfiguration.vue"), | 68 component: () => |
69 import("./components/systemconfiguration/Systemconfiguration.vue"), | |
69 meta: { | 70 meta: { |
70 requiresAuth: true | 71 requiresAuth: true |
71 }, | 72 }, |
72 beforeEnter: (to, from, next) => { | 73 beforeEnter: (to, from, next) => { |
73 const isSysadmin = store.getters["user/isSysAdmin"]; | 74 const isSysadmin = store.getters["user/isSysAdmin"]; |