From 95a122c4bfd10d63ca020636b7c53d7295c1a3ef Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Tue, 16 Sep 2025 17:33:57 +0200 Subject: [PATCH] Fixed Loading Error at Login/Tenant Switch --- components/TenantDropdown.vue | 2 +- layouts/default.vue | 6 +++--- stores/auth.ts | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/components/TenantDropdown.vue b/components/TenantDropdown.vue index 039860a..fa5eb6f 100644 --- a/components/TenantDropdown.vue +++ b/components/TenantDropdown.vue @@ -15,7 +15,7 @@ const selectedTenant = ref(auth.user.tenant_id) v-model="selectedTenant" > - + {{auth.tenants.find(i => auth.activeTenant === i.id).name}} diff --git a/layouts/default.vue b/layouts/default.vue index 225873b..9cb6dbc 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -114,7 +114,7 @@ const footerLinks = [