From b0b316ed48e43dd9ef03da3c132b3cefd1f78d1b Mon Sep 17 00:00:00 2001 From: Joel Date: Wed, 22 Oct 2025 11:07:08 +0800 Subject: [PATCH] fix: rag pipline not show sys vars --- web/app/components/rag-pipeline/components/panel/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/app/components/rag-pipeline/components/panel/index.tsx b/web/app/components/rag-pipeline/components/panel/index.tsx index e2fd958405..793248e3eb 100644 --- a/web/app/components/rag-pipeline/components/panel/index.tsx +++ b/web/app/components/rag-pipeline/components/panel/index.tsx @@ -22,14 +22,19 @@ const InputFieldEditorPanel = dynamic(() => import('./input-field/editor'), { const PreviewPanel = dynamic(() => import('./input-field/preview'), { ssr: false, }) - +const GlobalVariablePanel = dynamic(() => import('@/app/components/workflow/panel/global-variable-panel'), { + ssr: false, +}) const RagPipelinePanelOnRight = () => { const historyWorkflowData = useStore(s => s.historyWorkflowData) const showDebugAndPreviewPanel = useStore(s => s.showDebugAndPreviewPanel) + const showGlobalVariablePanel = useStore(s => s.showGlobalVariablePanel) + return ( <> {historyWorkflowData && } {showDebugAndPreviewPanel && } + {showGlobalVariablePanel && } ) }