From 9ddb89f12ea2f9b4cf492986604b1be3d586ae2e Mon Sep 17 00:00:00 2001 From: Andreas Steinmann Date: Tue, 15 Aug 2023 14:14:30 +0200 Subject: [PATCH] fix: remove query parameter "page" for product detail page routes --- .../product/product-image/product-image.component.html | 1 + .../components/product/product-name/product-name.component.html | 1 + 2 files changed, 2 insertions(+) diff --git a/src/app/shared/components/product/product-image/product-image.component.html b/src/app/shared/components/product/product-image/product-image.component.html index ff1a9e736a..36a7e0e292 100644 --- a/src/app/shared/components/product/product-image/product-image.component.html +++ b/src/app/shared/components/product/product-image/product-image.component.html @@ -4,6 +4,7 @@ data-testing-id="product-image-link" [routerLink]="linkTarget || (productURL$ | async)" [queryParamsHandling]="computedQueryParamsHandling" + [queryParams]="{ page: null }" > diff --git a/src/app/shared/components/product/product-name/product-name.component.html b/src/app/shared/components/product/product-name/product-name.component.html index 14fd7cc2bb..ba96778409 100644 --- a/src/app/shared/components/product/product-name/product-name.component.html +++ b/src/app/shared/components/product/product-name/product-name.component.html @@ -6,6 +6,7 @@ data-testing-id="product-name-link" [routerLink]="productURL$ | async" [queryParamsHandling]="computedQueryParamsHandling" + [queryParams]="{ page: null }" >{{ alternate || productName }}