diff --git a/frontend/src/components/pages/details/Details.tsx b/frontend/src/components/pages/details/Details.tsx index 38a941d52..a06a85666 100644 --- a/frontend/src/components/pages/details/Details.tsx +++ b/frontend/src/components/pages/details/Details.tsx @@ -326,11 +326,14 @@ export const DetailsUIWithoutContext: React.FC = ({ slug, parentId, langu ref={sectionRef[section.name]} id={`details_${section.name}_ref`} > +
{(details.labels.length > 0 || (details.advice !== null && details.advice.length > 0)) && (
diff --git a/frontend/src/components/pages/site/OutdoorSiteUI.tsx b/frontend/src/components/pages/site/OutdoorSiteUI.tsx index 9b1e03e11..dc4690ff9 100644 --- a/frontend/src/components/pages/site/OutdoorSiteUI.tsx +++ b/frontend/src/components/pages/site/OutdoorSiteUI.tsx @@ -324,10 +324,13 @@ const OutdoorSiteUIWithoutContext: React.FC = ({ outdoorSiteUrl, language ref={sectionRef[section.name]} id={`details_${section.name}_ref`} > +
{(outdoorSiteContent.advice || Number(outdoorSiteContent?.labels?.length) > 0) && (