pr comments
This commit is contained in:
parent
b417521725
commit
b3ff94ea84
|
@ -120,7 +120,8 @@ function typeCoercion(filters, table) {
|
|||
}
|
||||
|
||||
const hasNullFilters = filters =>
|
||||
filters.length === 0 || filters.some(filter => filter.value === null)
|
||||
filters.length === 0 ||
|
||||
filters.some(filter => filter.value === null || filter.value === "")
|
||||
|
||||
exports.run = async function ({ inputs, appId }) {
|
||||
const { tableId, filters, sortColumn, sortOrder, limit } = inputs
|
||||
|
|
|
@ -50,7 +50,6 @@ describe("Test a query step automation", () => {
|
|||
})
|
||||
|
||||
it("Returns all rows when onEmptyFilter has no value and no filters are passed", async () => {
|
||||
console.log(rows)
|
||||
const inputs = {
|
||||
tableId: table._id,
|
||||
filters: {},
|
||||
|
|
Loading…
Reference in New Issue