From 6d04d279ae60eaa774276b9e28e94df855fd93b3 Mon Sep 17 00:00:00 2001 From: Wes Date: Wed, 22 Jul 2026 12:27:25 -0600 Subject: [PATCH] Show team count separately in channel template rows (#2404) Signed-off-by: Wes Co-authored-by: Rick <738ae2df545ecddd7788884357e8ab6842c5b10389b980a58aad43b424db74d9@sprout-oss.stage.blox.sqprod.co> --- .../settings/ui/ChannelTemplatesSettingsCard.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/desktop/src/features/settings/ui/ChannelTemplatesSettingsCard.tsx b/desktop/src/features/settings/ui/ChannelTemplatesSettingsCard.tsx index 6c149aaab..82680ae5a 100644 --- a/desktop/src/features/settings/ui/ChannelTemplatesSettingsCard.tsx +++ b/desktop/src/features/settings/ui/ChannelTemplatesSettingsCard.tsx @@ -1,4 +1,5 @@ import { + Bot, Copy, MessageSquare, MoreHorizontal, @@ -199,8 +200,8 @@ function TemplateRow({ onDuplicate: () => void; onDelete: () => void; }) { - const agentCount = - template.agents.personas.length + template.agents.teams.length; + const personaCount = template.agents.personas.length; + const teamCount = template.agents.teams.length; return (
@@ -219,10 +220,16 @@ function TemplateRow({

) : null}
- {agentCount > 0 ? ( + {personaCount > 0 ? ( + + + {personaCount} {personaCount === 1 ? "agent" : "agents"} + + ) : null} + {teamCount > 0 ? ( - {agentCount} {agentCount === 1 ? "agent" : "agents"} + {teamCount} {teamCount === 1 ? "team" : "teams"} ) : null} {template.canvasTemplate ? (