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

@@ -65,7 +65,7 @@ export default memo(function CommandPalette({ open, setOpen }: { open: boolean;
<CommandItem
key={system.id}
onSelect={() => {
navigate(getPagePath($router, "system", { name: system.name }))
navigate(getPagePath($router, "system", { id: system.id }))
setOpen(false)
}}
>