mirror of https://github.com/langgenius/dify.git
fix: array operator render
This commit is contained in:
parent
44e81dbbc8
commit
7e2984b6e2
|
|
@ -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 (
|
||||
<PortalToFollowElem
|
||||
open={open}
|
||||
|
|
|
|||
Loading…
Reference in New Issue