Fix Lucene tests.
This commit is contained in:
parent
264ce5e272
commit
5783ee790f
|
@ -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)
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue