diff --git a/src/pages/evm/wallet/WalletTransactionsTab.vue b/src/pages/evm/wallet/WalletTransactionsTab.vue index f445002e..6f3703fd 100644 --- a/src/pages/evm/wallet/WalletTransactionsTab.vue +++ b/src/pages/evm/wallet/WalletTransactionsTab.vue @@ -85,6 +85,7 @@ export default defineComponent({ } const { rowsPerPage, page } = newPagination; + console.log('watch(pagination) - We replace route: ', { rowsPerPage, page }); this.$router.replace({ name: 'evm-wallet', query: { @@ -111,6 +112,7 @@ export default defineComponent({ rowsCurrentPage: rowsPerPage, rowsNumber, }; + console.log('watch(totalRows) - We set pagination: ', { rowsPerPage, page }); } else { this.pagination.rowsNumber = newValue; } @@ -128,6 +130,8 @@ export default defineComponent({ rowsNumber: this.pagination.rowsNumber, }; + console.log('watch($route) - We set pagination: ', this.pagination); + this.getTransactions().finally(() => { this.rowsPerPageUpdating = false; }); @@ -152,6 +156,8 @@ export default defineComponent({ methods: { async getTransactions() { + console.log('getTransactions() - pagination: ', this.pagination); + const offset = (this.pagination.page - 1) * this.pagination.rowsPerPage; let limit = this.pagination.rowsPerPage;