From 80da9dd5781dab2af993d759f42dcfba9e46bd0c Mon Sep 17 00:00:00 2001 From: Stephanya Casanova Date: Wed, 2 Oct 2024 17:25:14 +0200 Subject: [PATCH] [backend] wip --- .../src/components/common/queryable/filter/FilterUtils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbas-front/src/components/common/queryable/filter/FilterUtils.tsx b/openbas-front/src/components/common/queryable/filter/FilterUtils.tsx index ff2534f887..2ca27a87b6 100644 --- a/openbas-front/src/components/common/queryable/filter/FilterUtils.tsx +++ b/openbas-front/src/components/common/queryable/filter/FilterUtils.tsx @@ -93,7 +93,7 @@ export const availableOperators = (propertySchema: PropertySchemaDTO) => { } // Enum & not array if (propertySchema.schema_property_values && !propertySchema.schema_property_type_array) { - return ['eq', 'empty', 'not_empty']; + return ['eq', 'not_eq', 'empty', 'not_empty']; } // Dynamic value & not array if (propertySchema.schema_property_has_dynamic_value && !propertySchema.schema_property_type_array) {