allow all rule groups to be empty (#1710)

This commit is contained in:
jeffvli
2026-02-13 20:26:58 -08:00
parent 77fef33cbf
commit e497734c07
2 changed files with 3 additions and 6 deletions
@@ -196,7 +196,7 @@ export const QueryBuilder = ({
filters={filters}
groupIndex={groupIndex || []}
level={level}
noRemove={data?.rules?.length === 1}
noRemove={false}
onChangeField={onChangeField}
onChangeOperator={onChangeOperator}
onChangeValue={onChangeValue}