fix: sources icon mini fix

This commit is contained in:
Alex
2025-05-05 23:34:13 +01:00
parent ad5f707486
commit 204936b2d0

View File

@@ -360,7 +360,7 @@ export default function NewAgent({ mode }: { mode: 'new' | 'edit' | 'draft' }) {
sourceDocs?.map((doc: Doc) => ({
id: doc.id || doc.retriever || doc.name,
label: doc.name,
icon: SourceIcon,
icon: <img src={SourceIcon} alt="" />,
})) || []
}
selectedIds={selectedSourceIds}