Skip to content

Commit

Permalink
Change query parameter when changing page
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamaguchi committed Nov 8, 2023
1 parent 7fcadcb commit e9bce22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/app/blocks/blocks.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export class BlocksPage implements OnInit {

onPageChange(pageNumber: number) {
this.page = pageNumber;
this.navCtrl.navigateForward('/blocks', {
queryParams: { page: this.page }
});
this.getBlockLists();
}

Expand Down

0 comments on commit e9bce22

Please sign in to comment.