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: reference issue in external knowledge api (#9240)

Yi Xiao44f6a536d244
diff --git a/web/app/components/base/chat/chat/citation/popup.tsx b/web/app/components/base/chat/chat/citation/popup.tsx
index b61bf623feb..9b98329e70b 100644
--- a/web/app/components/base/chat/chat/citation/popup.tsx
+++ b/web/app/components/base/chat/chat/citation/popup.tsx
@@ -100,7 +100,7 @@ const Popup: FC<PopupProps> = ({
/>
<Tooltip
text={t('common.chat.citation.vectorHash')}
- data={source.index_node_hash.substring(0, 7)}
+ data={source.index_node_hash?.substring(0, 7)}
icon={<BezierCurve03 className='mr-1 w-3 h-3' />}
/>
{