diff --git a/src/QueryBuilder/QueryBuilder/helpers/selectOptions.js b/src/QueryBuilder/QueryBuilder/helpers/selectOptions.js index 0dccb4c..03dab7c 100644 --- a/src/QueryBuilder/QueryBuilder/helpers/selectOptions.js +++ b/src/QueryBuilder/QueryBuilder/helpers/selectOptions.js @@ -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 }, @@ -98,7 +90,7 @@ export const getOperatorOptions = ({ return getOperatorsWithPlaceholder(ArrayOperators(), intl); case DATA_TYPES.JsonbArrayType: - return getOperatorsWithPlaceholder(JsonbArrayOperators(), intl); + return getOperatorsWithPlaceholder(ArrayOperators(), intl); case DATA_TYPES.DateType: return getOperatorsWithPlaceholder(extendedLogicalOperators(), intl);