diff --git a/web/app/components/workflow/nodes/if-else/components/condition-list/condition-operator.tsx b/web/app/components/workflow/nodes/if-else/components/condition-list/condition-operator.tsx index 7b3a2b9d27..ecbe53f689 100644 --- a/web/app/components/workflow/nodes/if-else/components/condition-list/condition-operator.tsx +++ b/web/app/components/workflow/nodes/if-else/components/condition-list/condition-operator.tsx @@ -43,8 +43,7 @@ const ConditionOperator = ({ } }) }, [t, varType, file]) - const selectedOption = options.find(o => o.value === value) - + const selectedOption = options.find(o => Array.isArray(value) ? o.value === value[0] : o.value === value) return (