From bd41b6bbdee82ffbef84bcad4098e81387ed9b40 Mon Sep 17 00:00:00 2001 From: yibo Date: Sat, 28 Mar 2026 01:43:30 +0800 Subject: [PATCH] style: remove system agents from company agent list view --- web/src/views/AgentChat.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/views/AgentChat.vue b/web/src/views/AgentChat.vue index c8ec093..696f547 100644 --- a/web/src/views/AgentChat.vue +++ b/web/src/views/AgentChat.vue @@ -286,9 +286,9 @@ const groupedAgents = computed(() => { const groups = {} agentList.value.forEach(a => { const comp = a.companyId || 'system' - // If we are in a company context, filter out other companies + // If we are in a company context, filter out other companies and system agents if (route.params.id) { - if (comp !== route.params.id && comp !== 'system') return + if (comp !== route.params.id) return } else { // If we are in the System Agents context, ONLY show system agents if (comp !== 'system') return -- libgit2 0.21.4