Skip to content

Commit

Permalink
Merge pull request #985 from GeotrekCE/Fix-display-of-outdoorSite-cou…
Browse files Browse the repository at this point in the history
…rses

Fix display of outdoorSite courses
  • Loading branch information
babastienne authored Oct 12, 2023
2 parents 4aea6af + 75a1854 commit a70b3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/pages/site/OutdoorSiteUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ const OutdoorSiteUIWithoutContext: React.FC<Props> = ({ outdoorSiteUrl, language

if (
section.name === 'courses' &&
Number(outdoorSiteContent.children?.length) > 0
Number(outdoorSiteContent.courses?.length) > 0
) {
return (
<section
Expand Down

0 comments on commit a70b3b2

Please sign in to comment.