@evoke-platform/ui-components 1.4.0-testing.19 → 1.4.0-testing.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -278,13 +278,7 @@ const CriteriaBuilder = (props) => {
|
|
278
278
|
else {
|
279
279
|
const propertyType = properties.find((property) => property.id === rule.field)?.type;
|
280
280
|
let adjustedValue = rule.value;
|
281
|
-
if ((
|
282
|
-
((propertyType === 'string' || propertyType === 'richText') &&
|
283
|
-
(rule.operator === 'in' || rule.operator === 'notIn'))) &&
|
284
|
-
isSavedValue) {
|
285
|
-
adjustedValue = rule.value?.split(',');
|
286
|
-
}
|
287
|
-
else if ((rule.operator === 'null' || rule.operator === 'notNull') && rule.value) {
|
281
|
+
if ((rule.operator === 'null' || rule.operator === 'notNull') && rule.value) {
|
288
282
|
adjustedValue = null;
|
289
283
|
}
|
290
284
|
return {
|