Fix: bug fixes and icon replacement #10703 (#10814)

### What problem does this PR solve?

Fix: bug fixes and icon replacement #10703

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-10-27 19:02:18 +08:00
committed by GitHub
parent b7cb4d3e35
commit 0089e2b30c
22 changed files with 165 additions and 25 deletions

View File

@ -75,7 +75,7 @@ export default function Agents() {
title={t('flow.agents')}
searchString={searchString}
onSearchChange={handleInputChange}
icon="agent"
icon="agents"
filters={filters}
onChange={handleFilterSubmit}
value={filterValue}

View File

@ -41,7 +41,7 @@ export function UploadAgentForm({ hideModal, onOk }: IModalProps<any>) {
<Form {...form}>
<form
onSubmit={form.handleSubmit(onSubmit)}
className="space-y-6"
className="space-y-6 w-full text-ellipsis overflow-hidden"
id={TagRenameId}
>
<NameFormField></NameFormField>
@ -53,6 +53,7 @@ export function UploadAgentForm({ hideModal, onOk }: IModalProps<any>) {
<FormLabel required>DSL</FormLabel>
<FormControl>
<FileUploader
className="w-[calc(100%-40px)] text-ellipsis overflow-hidden"
value={field.value}
onValueChange={field.onChange}
maxFileCount={1}