diff --git a/src/components/ForestTypeDescription/VegetationTab.js b/src/components/ForestTypeDescription/VegetationTab.js index 2a6c48cb..674fab73 100644 --- a/src/components/ForestTypeDescription/VegetationTab.js +++ b/src/components/ForestTypeDescription/VegetationTab.js @@ -36,17 +36,23 @@ function VegetationTab({ data }) { {t('forestType.treeLayerHeight')} - - {data.height[2]}m - {data.height[3]}m - - - {t('forestType.coniferTreeHeightMax')}{' '} - {data.height[0]}m - - - {t('forestType.deciduousTreeHeightMax')}{' '} - {data.height[1]}m - + {data.height ? ( + <> + + {data.height[2]}m - {data.height[3]}m + + + {t('forestType.coniferTreeHeightMax')}{' '} + {data.height[0]}m + + + {t('forestType.deciduousTreeHeightMax')}{' '} + {data.height[1]}m + {' '} + + ) : ( + - + )} {t('forestType.location')}