Fixed #106 - Paginator should go to last page if current page has no data
parent
e6c891c360
commit
1ebaea5187
|
@ -74,6 +74,11 @@ export default {
|
||||||
},
|
},
|
||||||
rows(newValue) {
|
rows(newValue) {
|
||||||
this.d_rows = newValue;
|
this.d_rows = newValue;
|
||||||
|
},
|
||||||
|
totalRecords(newValue) {
|
||||||
|
if (this.page > 0 && newValue && (this.d_first >= newValue)) {
|
||||||
|
this.changePage(this.pageCount - 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue