mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-18 02:41:50 +02:00
update system permalinks to use id instead of name (#1231)
maintains backward compatibility with old permalinks
This commit is contained in:
@@ -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 />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user