mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-01 06:06:05 +08:00
hide cookie consent on login
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user