Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

fix(UI): hide 'Start here!' badge after Easy Setup is completed

Chris Sherwoodb8d36da9e188
diff --git a/admin/inertia/pages/home.tsx b/admin/inertia/pages/home.tsx
index 69a8f9b0..9b9e2851 100644
--- a/admin/inertia/pages/home.tsx
+++ b/admin/inertia/pages/home.tsx
@@ -97,7 +97,7 @@ export default function Home(props: {
const { data: easySetupVisited } = useSystemSetting({
key: 'ui.hasVisitedEasySetup'
})
- const shouldHighlightEasySetup = easySetupVisited?.value ? easySetupVisited?.value !== 'true' : false
+ const shouldHighlightEasySetup = easySetupVisited?.value ? String(easySetupVisited.value) !== 'true' : false
// Add installed services (non-dependency services only)
props.system.services