Merge branch 'bugfix/warehouse-e-shop-order-exoprt' into 'master'
fixed page 0 on client side rendered tables See merge request fronk/thetool!602
This commit is contained in:
@@ -340,7 +340,7 @@ Vue.component('tt-table', {
|
||||
}
|
||||
|
||||
this.pagination = {
|
||||
page: page++,
|
||||
page: Math.max(page, 1),
|
||||
per_page: this.pagination?.per_page ? parseInt(this.pagination.per_page) : 10,
|
||||
total_rows: this.rawRows.length || 0,
|
||||
total_pages: this.rawRows.length / this.pagination?.per_page,
|
||||
|
||||
Reference in New Issue
Block a user