setup route for first user
This commit is contained in:
parent
91ff0835fb
commit
6d9e75bb0c
20 changed files with 455 additions and 30 deletions
|
@ -44,6 +44,11 @@ export const useNavigationStore = defineStore("navigation", {
|
|||
title: "Einstellungen",
|
||||
levelDefault: "#qualification",
|
||||
},
|
||||
{
|
||||
key: "user",
|
||||
title: "Benutzer",
|
||||
levelDefault: "#user",
|
||||
},
|
||||
] as Array<topLevelNavigationModel>,
|
||||
navigation: {
|
||||
club: {
|
||||
|
@ -112,6 +117,7 @@ export const useNavigationStore = defineStore("navigation", {
|
|||
],
|
||||
},
|
||||
} as navigationModel,
|
||||
componentOverwrite: null as null | any,
|
||||
};
|
||||
},
|
||||
getters: {
|
||||
|
@ -144,6 +150,12 @@ export const useNavigationStore = defineStore("navigation", {
|
|||
setTopLevelNav(topLeveLinks: Array<topLevelNavigationModel>) {
|
||||
this.topLevel = topLeveLinks;
|
||||
},
|
||||
setComponentOverwrite(component: any) {
|
||||
this.componentOverwrite = component;
|
||||
},
|
||||
resetComponentOverwrite() {
|
||||
this.componentOverwrite = null;
|
||||
},
|
||||
resetNavigation() {
|
||||
this.$reset();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue