Skip to content

Commit dbfdb1f

Browse files
authored
Update mixin-filtering.js
1 parent bd8d7a7 commit dbfdb1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default {
100100

101101
// We only do local filtering when requested and there are records to filter.
102102
// If not local filtering or no items, we return the original local items array
103-
return filterFn && items.length > 0 ? items.filter(filterFn) : items
103+
return filterFn && items.length > 0 ? items.slice().filter(filterFn) : items
104104
}
105105
},
106106
watch: {

0 commit comments

Comments
 (0)