From d2fe9cb6bb37ce74cb6977cd64b63673a4319614 Mon Sep 17 00:00:00 2001 From: MauserBitfly <125363940+MauserBitfly@users.noreply.github.com> Date: Wed, 12 Jun 2024 10:59:28 +0200 Subject: [PATCH] don't default to shared dashboard (#443) --- frontend/composables/useDashboardKeyProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/composables/useDashboardKeyProvider.ts b/frontend/composables/useDashboardKeyProvider.ts index 4e8f4b336..809528044 100644 --- a/frontend/composables/useDashboardKeyProvider.ts +++ b/frontend/composables/useDashboardKeyProvider.ts @@ -33,7 +33,7 @@ export function useDashboardKeyProvider (type: DashboardType = 'validator', mock return } // only use the dashboard cookie key as default if you are not logged in and it's not private - if (!isLoggedIn.value && isPublicKey(dashboardKeyCookie.value)) { + if (!isLoggedIn.value && isPublicKey(dashboardKeyCookie.value) && !isSharedKey(dashboardKeyCookie.value)) { setDashboardKey(`${dashboardKeyCookie.value}`) } return