fix: move to page 1 on table update

map
rrr-marble 3 years ago
parent d018519077
commit 2b816fb5de

@ -41,6 +41,7 @@ export default {
computed: {
pages() {
this.settleFinished = true;
this.currentPage = 1;
return (this.perPage && this.perPage !== 0)
? Math.ceil(this.items.length / this.perPage)
: this.items.length

Loading…
Cancel
Save