diff --git a/lib/www/client/source/src/router/index.js b/lib/www/client/source/src/router/index.js index 0e74096..0bd45ef 100644 --- a/lib/www/client/source/src/router/index.js +++ b/lib/www/client/source/src/router/index.js @@ -211,7 +211,7 @@ Vue.use(VueRouter) component: GroupList, meta: { breadcrumbs: [ - { text: "Groups", href: "/groups", disabled: true } + { text: "Comparisons", href: "/groups", disabled: true } ], appBarExtension: { // component: DougalAppBarExtensionProjectList @@ -230,8 +230,22 @@ Vue.use(VueRouter) component: Group, meta: { 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: [ ]