mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:07:09 +00:00
Expand groups router definition
This commit is contained in:
@@ -212,7 +212,7 @@ Vue.use(VueRouter)
|
|||||||
component: GroupList,
|
component: GroupList,
|
||||||
meta: {
|
meta: {
|
||||||
breadcrumbs: [
|
breadcrumbs: [
|
||||||
{ text: "Groups", href: "/groups", disabled: true }
|
{ text: "Comparisons", href: "/groups", disabled: true }
|
||||||
],
|
],
|
||||||
appBarExtension: {
|
appBarExtension: {
|
||||||
// component: DougalAppBarExtensionProjectList
|
// component: DougalAppBarExtensionProjectList
|
||||||
@@ -231,8 +231,22 @@ Vue.use(VueRouter)
|
|||||||
component: Group,
|
component: Group,
|
||||||
meta: {
|
meta: {
|
||||||
breadcrumbs: [
|
breadcrumbs: [
|
||||||
{ text: "Groups", href: "/groups" },
|
{ text: "Comparisons", href: "/groups" },
|
||||||
|
{ text: (ctx) => ctx.$route.params.group }
|
||||||
|
/*
|
||||||
|
{
|
||||||
|
text: (ctx) => ctx.$store.state.project.projectName || "…",
|
||||||
|
href: (ctx) => `/projects/${ctx.$store.state.project.projectId || ctx.$route.params.project || ""}/`,
|
||||||
|
title: (ctx) => Object.entries(ctx.$store.getters.projectConfiguration?.organisations ?? {}).map( ([org, ops]) => `* ${org}: ${Object.entries(ops).filter( ([k, v]) => v ).map( ([k, v]) => k ).join(", ")}`).join("\n"),
|
||||||
|
organisations: (ctx) => ctx.$store.getters.projectConfiguration?.organisations ?? {}
|
||||||
|
}
|
||||||
|
*/
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
appBarExtension: {
|
||||||
|
component: DougalAppBarExtensionGroup
|
||||||
|
}
|
||||||
|
*/
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user