diff --git a/frontend/src/App.vue b/frontend/src/App.vue index f9164c699..c727d896b 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -58,7 +58,7 @@ const baseStore = useBaseStore() const route = useRoute() -const showAuthLayout = computed(() => authStore.authUser && !AUTH_ROUTE_NAMES.has(route.name as string)) +const showAuthLayout = computed(() => authStore.authUser && typeof route.name === 'string' && !AUTH_ROUTE_NAMES.has(route.name)) useBodyClass('is-touch', isTouchDevice()) const keyboardShortcutsActive = computed(() => baseStore.keyboardShortcutsActive)