fix(frontend): incorrecte redirect bij logout verbeterd

This commit is contained in:
Gerald Schmittinger 2025-04-19 12:21:54 +02:00
parent 6f9902a40c
commit b8e63e3e34
2 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,7 @@
<script setup lang="ts">
import { ref } from "vue";
import { useI18n } from "vue-i18n";
import { useRouter } from "vue-router";
import auth from "@/services/auth/auth-service.ts";
@ -10,6 +11,7 @@
const { t, locale } = useI18n();
const role = auth.authState.activeRole;
const router = useRouter();
const name: string = auth.authState.user!.profile.name!;
const initials: string = name