update system permalinks to use id instead of name (#1231)

maintains backward compatibility with old permalinks
This commit is contained in:
henrygd
2025-10-05 14:18:00 -04:00
parent ae820d348e
commit d81e137291
7 changed files with 21 additions and 18 deletions

View File

@@ -59,7 +59,7 @@ const App = memo(() => {
} else if (page.route === "home") {
return <Home />
} else if (page.route === "system") {
return <SystemDetail name={page.params.name} />
return <SystemDetail id={page.params.id} />
} else if (page.route === "settings") {
return <Settings />
}