mirror of https://github.com/langgenius/dify.git
fix: list filter operation filter boolean problem
This commit is contained in:
parent
c4824a1d4c
commit
14c62850e0
|
|
@ -109,7 +109,7 @@ const FilterCondition: FC<Props> = ({
|
|||
<div className='flex space-x-1'>
|
||||
<ConditionOperator
|
||||
className='h-8 bg-components-input-bg-normal'
|
||||
varType={expectedVarType ?? VarType.string}
|
||||
varType={expectedVarType ?? varType ?? VarType.string}
|
||||
value={condition.comparison_operator}
|
||||
onSelect={handleChange('comparison_operator')}
|
||||
file={hasSubVariable ? { key: condition.key } : undefined}
|
||||
|
|
|
|||
Loading…
Reference in New Issue