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,9 +286,9 @@ const groupedAgents = computed(() => {
286 const groups = {} 286 const groups = {}
287 agentList.value.forEach(a => { 287 agentList.value.forEach(a => {
288 const comp = a.companyId || 'system' 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 if (route.params.id) { 290 if (route.params.id) {
291 - if (comp !== route.params.id && comp !== 'system') return 291 + if (comp !== route.params.id) return
292 } else { 292 } else {
293 // If we are in the System Agents context, ONLY show system agents 293 // If we are in the System Agents context, ONLY show system agents
294 if (comp !== 'system') return 294 if (comp !== 'system') return