datasource icon

This commit is contained in:
zxhlyh 2025-05-26 16:41:50 +08:00
parent 28726b6cf3
commit cef77a3717

View File

@ -109,7 +109,7 @@ const BlockIcon: FC<BlockIconProps> = ({
) )
} }
{ {
type === BlockEnum.Tool && toolIcon && ( (type === BlockEnum.Tool || type === BlockEnum.DataSource) && toolIcon && (
<> <>
{ {
typeof toolIcon === 'string' typeof toolIcon === 'string'