Skip to content

Commit

Permalink
Enable "Punts d'oci i esport naturals"
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciabad committed May 7, 2024
1 parent 9e4fd2d commit 9611885
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/app/[locale]/(app)/explore/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ const ExplorePage: FC<LocaleRouteParams> = async ({ params }) => {
locale: onlyTranslatableLocales(locale),
})

const groups: CategoryGroupListItem[] = categoryGroups
.filter((group) => group.id !== 2) // TODO: Temporarily disabled "Punts d'oci i esport naturals". Enable it later.
.map((group) => ({
...group,
categories: group.placeCategories,
type: 'place',
}))
const groups: CategoryGroupListItem[] = categoryGroups.map((group) => ({
...group,
categories: group.placeCategories,
type: 'place',
}))

groups.splice(1, 0, {
name: t('category-groups.routes'),
Expand Down

0 comments on commit 9611885

Please sign in to comment.