Skip to content

Commit

Permalink
Update to not add label as empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanahuckova committed Jan 24, 2024
1 parent 8d7cb14 commit db4932e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VisualQueryBuilder/components/LabelFilterItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export function LabelFilterItem({
})
.filter((val: string | undefined) => val !== undefined)
.join(multiValueSeparator);
onChange({ ...item, label: item.label ?? '', value: changes, op: item.op ?? defaultOp });
onChange({ ...item, value: changes, op: item.op ?? defaultOp });
}
}}
invalid={isConflicting || invalidValue}
Expand Down

0 comments on commit db4932e

Please sign in to comment.