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(EasySetup): scroll to top when navigating between steps
Chris Sherwood738b57e854ad
diff --git a/admin/inertia/pages/easy-setup/index.tsx b/admin/inertia/pages/easy-setup/index.tsxindex 26cbdb64..e6930d50 100644--- a/admin/inertia/pages/easy-setup/index.tsx+++ b/admin/inertia/pages/easy-setup/index.tsx@@ -453,6 +453,11 @@ export default function EasySetupWizard(props: { system: { services: ServiceSlim},})+ // Scroll to top when step changes+ useEffect(() => {+ window.scrollTo({ top: 0, behavior: 'smooth' })+ }, [currentStep])+// Auto-fetch latest collections if the list is emptyuseEffect(() => {if (mapCollections && mapCollections.length === 0 && !fetchLatestMapCollections.isPending) {