mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 00:45:53 +08:00
fix: array operator render
This commit is contained in:
parent
44e81dbbc8
commit
7e2984b6e2
@ -43,8 +43,7 @@ const ConditionOperator = ({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, [t, varType, file])
|
}, [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 (
|
return (
|
||||||
<PortalToFollowElem
|
<PortalToFollowElem
|
||||||
open={open}
|
open={open}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user