From f4abbd1a5bb21833f7c4a627b6e40f5ca280b3b3 Mon Sep 17 00:00:00 2001 From: henrygd Date: Sat, 18 Oct 2025 20:02:58 -0400 Subject: [PATCH] fix system link in container sheet when serving on subpath --- .../src/components/containers-table/containers-table.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/site/src/components/containers-table/containers-table.tsx b/internal/site/src/components/containers-table/containers-table.tsx index 7e20ad7a..c14b5f2f 100644 --- a/internal/site/src/components/containers-table/containers-table.tsx +++ b/internal/site/src/components/containers-table/containers-table.tsx @@ -28,8 +28,9 @@ import { Button } from "@/components/ui/button" import { $allSystemsById } from "@/lib/stores" import { MaximizeIcon, RefreshCwIcon } from "lucide-react" import { Separator } from "../ui/separator" -import { Link } from "../router" +import { $router, Link } from "../router" import { listenKeys } from "nanostores" +import { getPagePath } from "@nanostores/router" const syntaxTheme = "github-dark-dimmed" @@ -327,7 +328,7 @@ function ContainerSheet({ sheetOpen, setSheetOpen, activeContainer }: { sheetOpe {container.name} - {$allSystemsById.get()[container.system]?.name ?? ""} + {$allSystemsById.get()[container.system]?.name ?? ""} {container.status}