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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: remove unnecessary properties from condition draft (#27009)
Guangdong Liu58524d6d2b93
diff --git a/web/app/components/workflow/nodes/if-else/components/condition-list/condition-item.tsx b/web/app/components/workflow/nodes/if-else/components/condition-list/condition-item.tsxindex 1a76622c57e..252c9a7d777 100644--- a/web/app/components/workflow/nodes/if-else/components/condition-list/condition-item.tsx+++ b/web/app/components/workflow/nodes/if-else/components/condition-list/condition-item.tsx@@ -234,6 +234,9 @@ const ConditionItem = ({draft.varType = resolvedVarTypedraft.value = resolvedVarType === VarType.boolean ? false : ''draft.comparison_operator = getOperators(resolvedVarType)[0]+ delete draft.key+ delete draft.sub_variable_condition+ delete draft.numberVarTypesetTimeout(() => setControlPromptEditorRerenderKey(Date.now()))})doUpdateCondition(newCondition)diff --git a/web/app/components/workflow/nodes/loop/components/condition-list/condition-item.tsx b/web/app/components/workflow/nodes/loop/components/condition-list/condition-item.tsxindex 6e573093b7e..4de07cc3da3 100644--- a/web/app/components/workflow/nodes/loop/components/condition-list/condition-item.tsx+++ b/web/app/components/workflow/nodes/loop/components/condition-list/condition-item.tsx@@ -196,6 +196,9 @@ const ConditionItem = ({draft.varType = varItem.typedraft.value = ''draft.comparison_operator = getOperators(varItem.type)[0]+ delete draft.key+ delete draft.sub_variable_condition+ delete draft.numberVarType})doUpdateCondition(newCondition)setOpen(false)