From 759584f8c519f2fa47aa26bb9628fe85b6cd9c96 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 25 Apr 2025 09:06:07 +0800 Subject: [PATCH] fix: not render conversation var in prompt editor (#18728) --- .../prompt-editor/plugins/workflow-variable-block/component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx b/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx index 2f6c3374a7..50ff29633a 100644 --- a/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx +++ b/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx @@ -144,7 +144,7 @@ const WorkflowVariableBlockComponent = ({ } if (!node) - return null + return Item return (