Skip to content

Lightweight server monitoring with historical data, docker stats, and alerts.

fix(ui): prevent cross-system container request cancellation (#2838)

Aditya rai9a02a92a0582
diff --git a/internal/site/src/components/containers-table/containers-table.tsx b/internal/site/src/components/containers-table/containers-table.tsx
index ece3995e2..e9b4e44fc 100644
--- a/internal/site/src/components/containers-table/containers-table.tsx
+++ b/internal/site/src/components/containers-table/containers-table.tsx
@@ -72,6 +72,7 @@ export default function ContainersTable({ systemId }: { systemId?: string }) {
.getList(0, 2000, {
fields: "id,name,image,updatable,ports,cpu,memory,net,health,status,system,updated",
filter: systemId ? pb.filter("system={:system}", { system: systemId }) : undefined,
+ requestKey: `containers-${systemId ?? "all"}`,
})
.then(({ items }) => {
if (items.length === 0) {