Skip to content

Commit

Permalink
logs for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Viterbo committed Feb 15, 2024
1 parent cd6528c commit 99cf7de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/evm/wallet/WalletTransactionsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -111,6 +112,7 @@ export default defineComponent({
rowsCurrentPage: rowsPerPage,
rowsNumber,
};
console.log('watch(totalRows) - We set pagination: ', { rowsPerPage, page });
} else {
this.pagination.rowsNumber = newValue;
}
Expand All @@ -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;
});
Expand All @@ -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;
Expand Down

0 comments on commit 99cf7de

Please sign in to comment.