Fix Lucene tests.

This commit is contained in:
Sam Rose 2024-05-08 15:36:26 +01:00
parent 264ce5e272
commit 5783ee790f
No known key found for this signature in database
1 changed files with 1 additions and 5 deletions

View File

@ -13,11 +13,7 @@ import { dataFilters } from "@budibase/shared-core"
export const removeKeyNumbering = dataFilters.removeKeyNumbering export const removeKeyNumbering = dataFilters.removeKeyNumbering
function isEmpty(value: any) { function isEmpty(value: any) {
return ( return value == null || value === ""
value == null ||
value === "" ||
(Array.isArray(value) && value.length === 0)
)
} }
/** /**