Skip to content

Commit

Permalink
🐛Filtering on magazine tags on the /no/magasin page
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunVAshrit committed Dec 20, 2024
1 parent daf3464 commit 27f2846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/templates/magazine/Magazineroom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ const MagazineRoom = ({ pageData, slug }: MagazineIndexTemplateProps) => {
if (tagValue === 'ALL') {
delete router.query.filter
router.push({
pathname: parentSlug,
pathname: router.pathname,
})
} else {
router.push({
pathname: parentSlug,
pathname: `${router.query.locale ? `/${router.query.locale}` : ''}${router.pathname}`,
query: {
tag: tagValue,
},
Expand Down

0 comments on commit 27f2846

Please sign in to comment.