Fix a validation case
This commit is contained in:
parent
9c9f95b0d7
commit
4ba95ff81c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user