role and user management
This commit is contained in:
parent
6247c385c3
commit
5ffdfcd6f2
22 changed files with 798 additions and 92 deletions
|
@ -1,6 +1,10 @@
|
|||
<template>
|
||||
<div v-if="!defaultRoute && showBack" class="flex md:hidden flex-row items-baseline">
|
||||
<RouterLink v-if="!defaultRoute && showBack" :to="{ name: `${rootRoute}-default` }" class="mid:hidden text-primary">
|
||||
<RouterLink
|
||||
v-if="!defaultRoute && showBack"
|
||||
:to="{ name: `${rootRoute}-${activeNavigation}-default` }"
|
||||
class="mid:hidden text-primary"
|
||||
>
|
||||
zur Übersicht
|
||||
</RouterLink>
|
||||
</div>
|
||||
|
@ -37,7 +41,7 @@ export default defineComponent({
|
|||
},
|
||||
},
|
||||
computed: {
|
||||
...mapState(useNavigationStore, ["activeLink"]),
|
||||
...mapState(useNavigationStore, ["activeLink", "activeNavigation"]),
|
||||
defaultRoute() {
|
||||
return ((this.$route?.name as string) ?? "").includes("-default");
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue