Fix:display agents (#10620)

### What problem does this PR solve?

Clear agents display, remove empty value column.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Lynn
2025-10-17 09:58:28 +08:00
committed by GitHub
parent 387baf858f
commit 39ad9490ac

View File

@ -166,8 +166,7 @@ class UserServiceMgr:
return [{
'title': r['title'],
'permission': r['permission'],
'canvas_type': r['canvas_type'],
'canvas_category': r['canvas_category']
'canvas_category': r['canvas_category'].split('-')[0]
} for r in res]