From bde891944b437566375ac4fe03cba9cf6132ebd2 Mon Sep 17 00:00:00 2001 From: Friedjoff Trautwein Date: Mon, 27 Apr 2020 12:00:35 +0200 Subject: [PATCH] fix: show main header only if it has main group --- src/components/LocationResult.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LocationResult.js b/src/components/LocationResult.js index 92afcbb2..ab3650e7 100644 --- a/src/components/LocationResult.js +++ b/src/components/LocationResult.js @@ -38,7 +38,7 @@ function LocationResult() { return forestTypes ? (
-
{t('forestType.group.main')}
+ {hasMainGroup &&
{t('forestType.group.main')}
} {hasMainGroup && ecogram && ( )}