Skip to content

Commit 38d915d

Browse files
authored
Update mixin-filtering.js
1 parent 8c1e77b commit 38d915d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/components/table/helpers/mixin-filtering.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,7 @@ export default {
238238
// Rather than directly grabbing `this.computedLocalFilterFn` or `this.filterFunction`
239239
// we have it passed, so that the caller computed prop will be reactive to changes
240240
// in the original filter-function (as this routine is a method)
241-
if (
242-
!filterFn ||
243-
!isFunction(filterFn) ||
244-
!criteria ||
245-
looseEqual(criteria, []) ||
246-
looseEqual(criteria, {})
247-
) {
241+
if (!isFunction(filterFn) || !criteria || looseEqual(criteria, []) || looseEqual(criteria, {})) {
248242
return null
249243
}
250244

0 commit comments

Comments
 (0)