Fix pagination sync issue with buefy grid tables
This commit is contained in:
parent
0dfe52a42d
commit
3819dd9469
|
@ -334,7 +334,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
onPageChange(page) {
|
onPageChange(page) {
|
||||||
this.page = page
|
this.currentPage = page
|
||||||
this.loadAsyncData()
|
this.loadAsyncData()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -343,7 +343,7 @@
|
||||||
this.sortOrder = order
|
this.sortOrder = order
|
||||||
// always reset to first page when changing sort options
|
// always reset to first page when changing sort options
|
||||||
// TODO: i mean..right? would we ever not want that?
|
// TODO: i mean..right? would we ever not want that?
|
||||||
this.page = 1
|
this.currentPage = 1
|
||||||
this.loadAsyncData()
|
this.loadAsyncData()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue