Fix criteria being added from grid column menu, where it has an array with undefined value...

This commit is contained in:
2023-06-24 19:13:29 -05:00
parent 09efdfd49e
commit c1b2638bc5

View File

@ -166,7 +166,7 @@ function FilterCriteriaRowValues({operatorOption, criteria, field, table, valueC
</Box>; </Box>;
case ValueMode.MULTI: case ValueMode.MULTI:
let values = criteria.values; let values = criteria.values;
if (values && values.length == 1 && values[0] == "") if (values && values.length == 1 && (values[0] == "" || values[0] == undefined))
{ {
values = []; values = [];
} }