Feat: Correctly display the knowledge base icon of the recall operator node.

This commit is contained in:
bill 2025-11-12 13:25:25 +08:00
parent 3a7322f5b2
commit 82aaac71b5

View file

@ -55,8 +55,8 @@ function InnerRetrievalNode({
<div className="flex items-center gap-1.5"> <div className="flex items-center gap-1.5">
<RAGFlowAvatar <RAGFlowAvatar
className="size-6 rounded-lg" className="size-6 rounded-lg"
avatar={id} avatar={item?.avatar}
name={item?.name || (label as string) || 'CN'} name={item ? item?.name : id}
/> />
<div className={'truncate flex-1'}>{label || item?.name}</div> <div className={'truncate flex-1'}>{label || item?.name}</div>