Commit bd41b6bbdee82ffbef84bcad4098e81387ed9b40

Authored by yibo
1 parent dafe4586

style: remove system agents from company agent list view

Showing 1 changed file with 2 additions and 2 deletions
web/src/views/AgentChat.vue
... ... @@ -286,9 +286,9 @@ const groupedAgents = computed(() => {
286 286 const groups = {}
287 287 agentList.value.forEach(a => {
288 288 const comp = a.companyId || 'system'
289   - // If we are in a company context, filter out other companies
  289 + // If we are in a company context, filter out other companies and system agents
290 290 if (route.params.id) {
291   - if (comp !== route.params.id && comp !== 'system') return
  291 + if (comp !== route.params.id) return
292 292 } else {
293 293 // If we are in the System Agents context, ONLY show system agents
294 294 if (comp !== 'system') return
... ...