mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
fix runtime error checking filter validity, in case criteria.values is null
This commit is contained in:
@ -473,7 +473,7 @@ export function FilterCriteriaRow({id, index, tableMetaData, metaData, criteria,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(isNotSet(criteria.values[0]))
|
if(!criteria.values || isNotSet(criteria.values[0]))
|
||||||
{
|
{
|
||||||
criteriaIsValid = false;
|
criteriaIsValid = false;
|
||||||
criteriaStatusTooltip = "You must enter a value to complete the definition of this condition.";
|
criteriaStatusTooltip = "You must enter a value to complete the definition of this condition.";
|
||||||
|
Reference in New Issue
Block a user