hide cookie consent on login

This commit is contained in:
itsrubberduck
2025-10-05 17:24:46 +02:00
parent 8a4265a86f
commit 17872e0391

View File

@@ -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;
}
</style>