Fix a validation case

This commit is contained in:
shamoon 2024-09-23 12:32:33 -07:00
parent 9c9f95b0d7
commit 4ba95ff81c

View File

@ -53,8 +53,7 @@ export class CustomFieldQueriesModel {
}
private validateAtom(atom: CustomFieldQueryAtom) {
let valid: boolean = !!(atom.field && atom.operator && atom.value)
return valid
return !!(atom.field && atom.operator && atom.value !== null)
}
private validateExpression(expression: CustomFieldQueryExpression) {