Skip to content

Commit

Permalink
Merge pull request #680 from GeotrekCE/develop
Browse files Browse the repository at this point in the history
Develop > Main / 3.8.5
  • Loading branch information
camillemonchicourt authored Jun 2, 2022
2 parents 7ab82f1 + 7a7f81c commit edfda38
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

3.8.5 (2022-06-02)
------------------

**🐛 Fixes**

* Fix Localization filters

3.8.4 (2022-05-31)
------------------

Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "geotrek-rando-frontend",
"version": "3.8.4",
"version": "3.8.5",
"private": true,
"scripts": {
"debug": "NODE_OPTIONS='--inspect' next ./src",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/outdoorSite/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const adaptOutdoorSiteDetails = ({
rawOutdoorSiteDetails?.properties?.information_desks?.map(
deskId => informationDesksDictionnary[deskId],
) ?? [],
webLinks: rawOutdoorSiteDetails?.properties?.web_links,
webLinks: rawOutdoorSiteDetails?.properties?.web_links ?? null,
pois,
touristicContents,
children,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/outdoorSite/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export interface OutdoorSiteDetails extends OutdoorSite {
labels?: Label[];
source?: Source[];
informationDesks?: InformationDesk[];
webLinks?: WebLink[];
webLinks?: WebLink[] | null;
pois: Poi[];
touristicContents: TouristicContent[];
children: OutdoorSite[];
Expand Down

0 comments on commit edfda38

Please sign in to comment.