From 17872e03918ea71a35c2bf54b95451ff1b465289 Mon Sep 17 00:00:00 2001 From: itsrubberduck Date: Sun, 5 Oct 2025 17:24:46 +0200 Subject: [PATCH] hide cookie consent on login --- app/components/CookieConsentBanner.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/CookieConsentBanner.vue b/app/components/CookieConsentBanner.vue index 3f3874f..2e6cdd1 100644 --- a/app/components/CookieConsentBanner.vue +++ b/app/components/CookieConsentBanner.vue @@ -110,7 +110,7 @@ watch( } ); -const restrictedRoute = computed(() => route.path.startsWith('/classroom') || route.path.startsWith('/pm')); +const restrictedRoute = computed(() => route.path.startsWith('/classroom') || route.path.startsWith('/pm') || route.path.startsWith('/login')); const showManageButton = computed(() => hasConsent.value && !isDialogVisible.value && !restrictedRoute.value); @@ -427,4 +427,5 @@ const openManager = () => { white-space: nowrap; border: 0; } +