File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -750,6 +750,10 @@ export default {
750
750
this . $emit ( 'update:busy' , newVal )
751
751
}
752
752
} ,
753
+ // Watch for changes on computedItems and update the v-model
754
+ computedItems ( newVal , OldVal ) {
755
+ this . $emit ( 'input' , newVal )
756
+ } ,
753
757
// Watch for changes to the filter criteria and filtered items vs localItems).
754
758
// And set visual state and emit events as required
755
759
filteredCheck ( { filteredItems, localItems, localFilter } ) {
@@ -1034,8 +1038,6 @@ export default {
1034
1038
// Grab the current page of data (which may be past filtered items limit)
1035
1039
items = items . slice ( ( currentPage - 1 ) * perPage , currentPage * perPage )
1036
1040
}
1037
- // update the v-model view
1038
- this . $emit ( 'input' , items )
1039
1041
// Return the items to display in the table
1040
1042
return items
1041
1043
} ,
You can’t perform that action at this time.
0 commit comments