Warehouse/improve2
This commit is contained in:
@@ -368,7 +368,16 @@ Vue.component('tt-table', {
|
||||
pagination: {
|
||||
page: Math.max(page, 1), per_page: this.pagination?.per_page ? this.pagination.per_page : 10,
|
||||
}, filters: this.filters, order: this.order
|
||||
});
|
||||
}).catch(error => {
|
||||
if (this.window.fetchErrorOccurred === undefined) {
|
||||
this.filters = {};
|
||||
this.order = {key: null, order: 'asc'};
|
||||
this.expandedRows = {};
|
||||
this.disableDebounce = true;
|
||||
this.fetchData(page).then();
|
||||
}
|
||||
this.window.fetchErrorOccurred = true;
|
||||
})
|
||||
|
||||
if (fetchTimestamp !== this.latestFetchTimestamp) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user