Skip to content

Commit

Permalink
don't default to shared dashboard (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
MauserBitfly authored Jun 12, 2024
1 parent dbb6322 commit d2fe9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/composables/useDashboardKeyProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2fe9cb

Please sign in to comment.