Skip to content

Commit

Permalink
re
Browse files Browse the repository at this point in the history
  • Loading branch information
kjain110 committed Dec 16, 2024
1 parent 2b8cfdf commit 9a609c6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/QueryBuilder/QueryBuilder/helpers/selectOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ const ArrayOperators = () => [
{ label: OPERATORS_LABELS.EMPTY, value: OPERATORS.EMPTY },
];

const JsonbArrayOperators = () => [
{ label: OPERATORS_LABELS.CONTAINS_ALL, value: OPERATORS.CONTAINS_ALL },
{ label: OPERATORS_LABELS.NOT_CONTAINS_ALL, value: OPERATORS.NOT_CONTAINS_ALL },
{ label: OPERATORS_LABELS.CONTAINS_ANY, value: OPERATORS.CONTAINS_ANY },
{ label: OPERATORS_LABELS.NOT_CONTAINS_ANY, value: OPERATORS.NOT_CONTAINS_ANY },
{ label: OPERATORS_LABELS.EMPTY, value: OPERATORS.EMPTY },
];

const UUIDOperators = () => [
{ label: OPERATORS_LABELS.EQUAL, value: OPERATORS.EQUAL },
{ label: OPERATORS_LABELS.IN, value: OPERATORS.IN },
Expand Down Expand Up @@ -98,7 +90,7 @@ export const getOperatorOptions = ({
return getOperatorsWithPlaceholder(ArrayOperators(), intl);

case DATA_TYPES.JsonbArrayType:

Check failure on line 92 in src/QueryBuilder/QueryBuilder/helpers/selectOptions.js

View workflow job for this annotation

GitHub Actions / ui / Install and lint / Install and lint

Expected indentation of 4 spaces but found 6
return getOperatorsWithPlaceholder(JsonbArrayOperators(), intl);
return getOperatorsWithPlaceholder(ArrayOperators(), intl);

Check failure on line 93 in src/QueryBuilder/QueryBuilder/helpers/selectOptions.js

View workflow job for this annotation

GitHub Actions / ui / Install and lint / Install and lint

Expected indentation of 6 spaces but found 8

case DATA_TYPES.DateType:
return getOperatorsWithPlaceholder(extendedLogicalOperators(), intl);
Expand Down

0 comments on commit 9a609c6

Please sign in to comment.