From 66888fd28a7d52b49f63ebdf987e3c725d471714 Mon Sep 17 00:00:00 2001 From: Melissa Autumn Date: Tue, 6 Aug 2024 16:02:19 -0700 Subject: [PATCH] Fix FTUE --- frontend/src/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/router.ts b/frontend/src/router.ts index c111a4cc4..5d00bcf11 100644 --- a/frontend/src/router.ts +++ b/frontend/src/router.ts @@ -196,7 +196,7 @@ router.beforeEach((to, from) => { } } - if (toMeta?.isPublic && !['setup', 'contact', 'undefined'].includes(String(to.name))) { + if (!toMeta?.isPublic && !['setup', 'contact', 'undefined'].includes(String(to.name))) { const user = useUserStore(); if (user && user.data?.email && !user.data.isSetup) { return { ...to, name: 'setup' };