fix: list filter operation filter boolean problem

This commit is contained in:
Joel 2025-08-01 18:06:27 +08:00
parent c4824a1d4c
commit 14c62850e0
1 changed files with 1 additions and 1 deletions

View File

@ -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}