Skip to content

Commit

Permalink
fix: refresh the search page with query parameter 'view'
Browse files Browse the repository at this point in the history
  • Loading branch information
SGrueber authored and Eisie96 committed Mar 30, 2023
1 parent b019bb2 commit 4e7f9d7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ export class ProductListingEffects {
select(selectQueryParams),
// filter router changes which have nothing to do with product lists like login
filter(
params => !!params?.filters || !!params?.sorting || !!params?.page || Object.keys(params)?.length === 0
params =>
!!params?.filters ||
!!params?.view ||
!!params?.sorting ||
!!params?.page ||
Object.keys(params)?.length === 0
),
map(params => {
const filters = params.filters
Expand Down

0 comments on commit 4e7f9d7

Please sign in to comment.