PR feedback
This commit is contained in:
parent
50d933dd01
commit
ed3073a20d
|
@ -69,8 +69,7 @@
|
||||||
filters = filters.filter(field => field.id !== id)
|
filters = filters.filter(field => field.id !== id)
|
||||||
|
|
||||||
// Clear all filters when no fields are specified
|
// Clear all filters when no fields are specified
|
||||||
let [first] = filters
|
if (filters.length === 1 && filters[0].onEmptyFilter) {
|
||||||
if (filters.length == 1 && first?.onEmptyFilter) {
|
|
||||||
filters = []
|
filters = []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue