Warehouse/improve2

This commit is contained in:
Luca Haid
2025-04-24 11:45:29 +00:00
parent acbe86f4a4
commit c42ecc7915
2 changed files with 11 additions and 2 deletions

View File

@@ -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;