From e9bce22491b9569d755882b1cb0e84da979c5240 Mon Sep 17 00:00:00 2001 From: Yamaguchi Date: Wed, 8 Nov 2023 17:53:27 +0900 Subject: [PATCH] Change query parameter when changing page --- frontend/src/app/blocks/blocks.page.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/app/blocks/blocks.page.ts b/frontend/src/app/blocks/blocks.page.ts index 9491c8e..911942d 100644 --- a/frontend/src/app/blocks/blocks.page.ts +++ b/frontend/src/app/blocks/blocks.page.ts @@ -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(); }