mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 03:26:00 +08:00
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…
x
Reference in New Issue
Block a user