Skip to content

Commit

Permalink
giving empty conditions a default type which will get overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
dvoegelin committed Aug 30, 2024
1 parent 9baa213 commit 8ac02e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Condition, Conjunction } from '../query-builder.types';
import { NovoLabelService } from 'novo-elements/services';

const EMPTY_CONDITION: Condition = {
conditionType: null,
conditionType: '$and',
field: null,
operator: null,
scope: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { NOVO_CRITERIA_BUILDER } from '../query-builder.tokens';
import { BaseFieldDef, Condition, ConditionGroup, Conjunction, AddressCriteriaConfig } from '../query-builder.types';

const EMPTY_CONDITION: Condition = {
conditionType: null,
conditionType: '$and',
field: null,
operator: null,
scope: null,
Expand Down

0 comments on commit 8ac02e1

Please sign in to comment.