Skip to content

Commit 8515c7d

Browse files
chriscrosstalkclaude
authored andcommitted
fix(UI): hide 'Start here!' badge after Easy Setup is completed
The KV store returns ui.hasVisitedEasySetup as boolean true, but the comparison checked against string 'true'. Since true !== 'true', the badge was always shown even after completing Easy Setup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8c5066c commit 8515c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/inertia/pages/home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default function Home(props: {
9797
const { data: easySetupVisited } = useSystemSetting({
9898
key: 'ui.hasVisitedEasySetup'
9999
})
100-
const shouldHighlightEasySetup = easySetupVisited?.value ? easySetupVisited?.value !== 'true' : false
100+
const shouldHighlightEasySetup = easySetupVisited?.value ? String(easySetupVisited.value) !== 'true' : false
101101

102102
// Add installed services (non-dependency services only)
103103
props.system.services

0 commit comments

Comments
 (0)