diff --git a/services/oodikone2-frontend/src/components/StudyProgramme/ThroughputTable/index.jsx b/services/oodikone2-frontend/src/components/StudyProgramme/ThroughputTable/index.jsx index 3e078ba915..46f4a9af4b 100644 --- a/services/oodikone2-frontend/src/components/StudyProgramme/ThroughputTable/index.jsx +++ b/services/oodikone2-frontend/src/components/StudyProgramme/ThroughputTable/index.jsx @@ -88,7 +88,7 @@ const ThroughputTable = ({ history, throughput, thesis, loading, error, studypro {genders.map(gender => )} Graduated overall Graduated in time - {countries.map(country => )} + {renderCountries ? countries.map(country => ) : null} @@ -122,11 +122,11 @@ const ThroughputTable = ({ history, throughput, thesis, loading, error, studypro {year.graduated} {year.inTargetTime} {year.transferred} - {countries.map(country => ( + {renderCountries ? countries.map(country => ( {year.countries[country] || 0} - ))} + )) : null} {Object.keys(year.creditValues).map(creditKey => ( {year.creditValues[creditKey]}