Skip to content

Commit

Permalink
fix: show main header only if it has main group
Browse files Browse the repository at this point in the history
  • Loading branch information
friedjoff committed Apr 27, 2020
1 parent ab015f6 commit bde8919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LocationResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function LocationResult() {

return forestTypes ? (
<Form className={styles.form}>
<Header>{t('forestType.group.main')}</Header>
{hasMainGroup && <Header>{t('forestType.group.main')}</Header>}
{hasMainGroup && ecogram && (
<Ecogram data={ecogram} selectForestType={selectForestType} />
)}
Expand Down

0 comments on commit bde8919

Please # to comment.