Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: image icon not showing correctly on left panel in workflow web app page (#7466)

Hash Brown028fd52c9bf1
diff --git a/web/app/components/share/text-generation/index.tsx b/web/app/components/share/text-generation/index.tsx
index 2cb942ca260..dd6efa86fa8 100644
--- a/web/app/components/share/text-generation/index.tsx
+++ b/web/app/components/share/text-generation/index.tsx
@@ -551,7 +551,13 @@ const TextGeneration: FC<IMainProps> = ({
<div className='mb-6'>
<div className='flex items-center justify-between'>
<div className='flex items-center space-x-3'>
- <AppIcon size="small" icon={siteInfo.icon} background={siteInfo.icon_background || appDefaultIconBackground} />
+ <AppIcon
+ size="small"
+ iconType={siteInfo.icon_type}
+ icon={siteInfo.icon}
+ background={siteInfo.icon_background || appDefaultIconBackground}
+ imageUrl={siteInfo.icon_url}
+ />
<div className='text-lg font-semibold text-gray-800'>{siteInfo.title}</div>
</div>
{!isPC && (