mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Fix criteria being added from grid column menu, where it has an array with undefined value...
This commit is contained in:
@ -166,7 +166,7 @@ function FilterCriteriaRowValues({operatorOption, criteria, field, table, valueC
|
||||
</Box>;
|
||||
case ValueMode.MULTI:
|
||||
let values = criteria.values;
|
||||
if (values && values.length == 1 && values[0] == "")
|
||||
if (values && values.length == 1 && (values[0] == "" || values[0] == undefined))
|
||||
{
|
||||
values = [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user