Commit b8f5ba4a by CaIon

feat(overview): update setup guide expansion logic

parent fd557064
......@@ -598,7 +598,9 @@ export function OverviewDashboard() {
const completedStepCount = startSteps.filter((step) => step.completed).length
const setupComplete = completedStepCount === startSteps.length
const setupGuideExpanded = manualSetupGuideExpanded ?? !setupComplete
const setupStatusReady = apiKeysQuery.isFetched && Boolean(user)
const setupGuideExpanded =
manualSetupGuideExpanded ?? (setupStatusReady && !setupComplete)
const showLeftContentPanels =
isAdmin || showApiInfoPanel || showAnnouncementsPanel || showFAQPanel
const showContentPanels = showLeftContentPanels || showUptimePanel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment