From 48c71efc6cb7386ebf58d31809a9b492dce0398e Mon Sep 17 00:00:00 2001 From: yiling Date: Wed, 29 Jul 2026 10:15:10 +0800 Subject: [PATCH] style(dashboard): remove session count from Sessions card title --- packages/webui/components/dashboard/AgentSessionsDashboard.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/webui/components/dashboard/AgentSessionsDashboard.tsx b/packages/webui/components/dashboard/AgentSessionsDashboard.tsx index b2d710c9..f03b53c4 100644 --- a/packages/webui/components/dashboard/AgentSessionsDashboard.tsx +++ b/packages/webui/components/dashboard/AgentSessionsDashboard.tsx @@ -53,7 +53,6 @@ export function AgentSessionsDashboard({ teamId }: AgentSessionsDashboardProps) const allSessions = data?.pages.flatMap((page) => page.data).filter((s) => s.id !== 'pending') || [] - const totalCount = data?.pages[0]?.pageInfo.total ?? allSessions.length const getSessionTypeBadge = (type: string) => { switch (type) { @@ -101,7 +100,7 @@ export function AgentSessionsDashboard({ teamId }: AgentSessionsDashboardProps)
- {m.sessions()} ({totalCount}) + {m.sessions()} {m.sessions_description()}