From 4fd1380a5f557626a54d99163ed456e00b7a8292 Mon Sep 17 00:00:00 2001 From: atlas Date: Fri, 2 Oct 2026 20:11:16 +0200 Subject: [PATCH] swarm UI: key LinkedAccounts by hive and agent Selecting another agent kept the previous agent's rows on screen until the new fetch landed. Keying both mounts by hive/agent remounts the component on an agent change; a version bump still refetches in place. Refs #4855 --- frontend/packages/swarm-ui/src/pages/agents/AgentsPage.tsx | 2 ++ frontend/packages/swarm-ui/src/pages/agents/LinkedAccounts.tsx | 3 +++ 2 files changed, 5 insertions(+) diff --git a/frontend/packages/swarm-ui/src/pages/agents/AgentsPage.tsx b/frontend/packages/swarm-ui/src/pages/agents/AgentsPage.tsx index a5727a4b..08676ad2 100644 --- a/frontend/packages/swarm-ui/src/pages/agents/AgentsPage.tsx +++ b/frontend/packages/swarm-ui/src/pages/agents/AgentsPage.tsx @@ -394,6 +394,7 @@ export function AgentsPage() { <> {a.hive ? ( {detailTarget.hive ? (