Feat: Move the github icon to the right #9869 (#10355)

### What problem does this PR solve?

Feat: Move the github icon to the right #9869

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-09-29 11:50:58 +08:00
committed by GitHub
parent 71f69cdb75
commit 8bc8126848
5 changed files with 34 additions and 18 deletions

View File

@ -122,18 +122,16 @@ export const useFetchAgentListByPage = () => {
: [];
const owner = filterValue.owner;
const requestParams = {
const requestParams: Record<string, any> = {
keywords: debouncedSearchString,
page_size: pagination.pageSize,
page: pagination.current,
canvas_category:
canvasCategory.length === 1 ? canvasCategory[0] : undefined,
owner_ids: '',
};
if (Array.isArray(owner) && owner.length > 0) {
requestParams.owner_ids =
`${owner[0]}` + owner.slice(1).map((id) => `&owner_ids=${id}`);
requestParams.owner_ids = owner.join(',');
}
const { data, isFetching: loading } = useQuery<{