Skip to content

Commit 0d67033

Browse files
Agent Relayclaude
andcommitted
fix: include bridge agents in total agent count
The totalAgents calculation was missing bridgeAgents.length, causing the header to show an incorrect count when bridge agents (like Architect) were present. This also fixes a pre-existing issue where the component could show 'No results' when a search matched only bridge agents. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent bf29f38 commit 0d67033

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/dashboard/src/components/ProjectList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ export function ProjectList({
197197

198198
const totalAgents =
199199
filteredData.localAgents.length +
200+
filteredData.bridgeAgents.length +
200201
filteredData.projects.reduce((sum, p) => sum + p.agents.length, 0);
201202

202203
if (totalAgents === 0 && projects.length === 0 && localAgents.length === 0) {

0 commit comments

Comments
 (0)