From 6d70ab7c987e8a579431798e5cb6fad1b9406a9d Mon Sep 17 00:00:00 2001 From: Remko Date: Wed, 22 Nov 2023 14:38:47 +0100 Subject: [PATCH] fix for filters and epe site --- pwa/src/templates/templateParts/filters/FiltersTemplate.tsx | 2 +- pwa/static/configFiles/epe.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pwa/src/templates/templateParts/filters/FiltersTemplate.tsx b/pwa/src/templates/templateParts/filters/FiltersTemplate.tsx index 2e56a945..9b1062f2 100644 --- a/pwa/src/templates/templateParts/filters/FiltersTemplate.tsx +++ b/pwa/src/templates/templateParts/filters/FiltersTemplate.tsx @@ -114,7 +114,7 @@ export const FiltersTemplate: React.FC = ({ isLoading }) = const categoriesWithData = getCategories.data.categorie.map((category: any) => ({ label: _.upperFirst(category._id.toLowerCase()), - value: category._id.toLowerCase(), + value: _.upperFirst(category._id.toLowerCase()), })); setCategoryOptions(_.orderBy(_.uniqBy(categoriesWithData, "value"), "label", "asc")); diff --git a/pwa/static/configFiles/epe.json b/pwa/static/configFiles/epe.json index 8e34330f..cc6a6e6d 100644 --- a/pwa/static/configFiles/epe.json +++ b/pwa/static/configFiles/epe.json @@ -1,6 +1,6 @@ { "GATSBY_SHOW_THEME_SWITCHER": "false", - "GATSBY_API_BASE_URL": "https://api.common-gateway.commonground.nu/api", + "GATSBY_API_BASE_URL": "https://api.gateway.commonground.nu/api", "GATSBY_NL_DESIGN_THEME_CLASSNAME": "epe-theme", "GATSBY_FAVICON_URL": "https://www.epe.nl/sites/default/themes/custom/toptasks_sub_theme/favicon/favicon-32x32.png", "GATSBY_ORGANISATION_NAME": "Gemeente Epe",