mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 10:46:16 +01: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