ignore empty text field

This commit is contained in:
Hongbo Wu 2023-12-12 17:56:10 +08:00
parent 609c46cdc3
commit a7f9214cda

View file

@ -540,7 +540,7 @@ export const buildQuery = (
return `(${serialized})`
}
throw new Error('Missing AST type.')
return null
}
return serialize(searchQuery)