From 2adc3bb733683e97d070aa216292907f26d8dcf7 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Sun, 28 Jun 2026 20:01:35 +0800 Subject: [PATCH] feat: add showConditionBranches prop to WorkflowConfigPanel for conditional rendering --- .../ai-workflows/_components/workflow-config-sidebar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx b/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx index fc586f0..5e8e538 100644 --- a/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx +++ b/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx @@ -191,6 +191,7 @@ export function WorkflowConfigPanel({ nodes={definition.nodes} availableVariables={availableVariables} showHeader={false} + showConditionBranches={selectedNode.type !== "condition"} onChange={onChangeNodeData} onDelete={onDeleteNode} />