Skip to content

Commit

Permalink
fix: remove interfering query parameter "page" for product detail pag…
Browse files Browse the repository at this point in the history
…e routes (#1481)
  • Loading branch information
andreassteinmann authored Aug 15, 2023
1 parent 2b9d8ea commit 28ba5f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
data-testing-id="product-image-link"
[routerLink]="linkTarget || (productURL$ | async)"
[queryParamsHandling]="computedQueryParamsHandling"
[queryParams]="{ page: null }"
><ng-container *ngTemplateOutlet="image"></ng-container>
</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
data-testing-id="product-name-link"
[routerLink]="productURL$ | async"
[queryParamsHandling]="computedQueryParamsHandling"
[queryParams]="{ page: null }"
>{{ alternate || productName }}</a
>
</ng-container>
Expand Down

0 comments on commit 28ba5f0

Please sign in to comment.