mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-14 08:51:49 +02:00
update system permalinks to use id instead of name (#1231)
maintains backward compatibility with old permalinks
This commit is contained in:
@@ -112,7 +112,7 @@ const ActiveAlerts = () => {
|
||||
)}
|
||||
</AlertDescription>
|
||||
<Link
|
||||
href={getPagePath($router, "system", { name: systems[alert.system]?.name })}
|
||||
href={getPagePath($router, "system", { id: systems[alert.system]?.id })}
|
||||
className="absolute inset-0 w-full h-full"
|
||||
aria-label="View system"
|
||||
></Link>
|
||||
|
||||
Reference in New Issue
Block a user