fix(frontend): Login state blijft behouden voor andere tabs binnen dezelfde browser.

This commit is contained in:
Gerald Schmittinger 2025-04-22 11:04:24 +02:00
parent 37c9e622e6
commit 2578555ace
4 changed files with 17 additions and 4 deletions

View file

@ -3,6 +3,9 @@
import MenuBar from "@/components/MenuBar.vue";
import { useRoute } from "vue-router";
import { computed } from "vue";
import authService from "@/services/auth/auth-service.ts";
void authService.loadUser();
const route = useRoute();
interface RouteMeta {