diff --git a/src/components/navigation/EssentialExpansionLink.vue b/src/components/navigation/EssentialExpansionLink.vue new file mode 100644 index 0000000..2726583 --- /dev/null +++ b/src/components/navigation/EssentialExpansionLink.vue @@ -0,0 +1,46 @@ + + + + + + + + + + + {{child.title}} + + + + + + + + + diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index d70329f..c13be44 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -51,18 +51,18 @@ > - - - + flaschengeist?.menuLinks), mainLinks, notifications, noPermission, diff --git a/src/pages/Login.vue b/src/pages/Login.vue index e41400b..68bde36 100644 --- a/src/pages/Login.vue +++ b/src/pages/Login.vue @@ -95,7 +95,7 @@ export default defineComponent({ const status = await mainStore.login(userid.value, password.value); if (status === true) { - mainStore.user = (await useUserStore().getUser(userid.value)) || undefined; + mainStore.user = (await useUserStore().getUser(userid.value, true)) || undefined; const x = router.currentRoute.value.query['redirect']; void router.push(typeof x === 'string' ? { path: x } : mainRoute); } else {