Skip to content

Commit

Permalink
Merge pull request #958 from UniversityOfHelsinkiCS/trunk
Browse files Browse the repository at this point in the history
acual featuretoggel
  • Loading branch information
sasumaki authored May 31, 2019
2 parents ac61883 + 041dd8e commit 7a7dc94
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const ThroughputTable = ({ history, throughput, thesis, loading, error, studypro
{genders.map(gender => <Table.HeaderCell key={gender} content={gender} />)}
<Table.HeaderCell >Graduated overall</Table.HeaderCell>
<Table.HeaderCell >Graduated in time</Table.HeaderCell>
{countries.map(country => <Table.HeaderCell key={country} content={country} />)}
{renderCountries ? countries.map(country => <Table.HeaderCell key={country} content={country} />) : null}
<Table.HeaderCell content=">= 30" />
<Table.HeaderCell content=">= 60" />
<Table.HeaderCell content=">= 90" />
Expand Down Expand Up @@ -122,11 +122,11 @@ const ThroughputTable = ({ history, throughput, thesis, loading, error, studypro
<Table.Cell>{year.graduated}</Table.Cell>
<Table.Cell>{year.inTargetTime}</Table.Cell>
<Table.Cell>{year.transferred}</Table.Cell>
{countries.map(country => (
{renderCountries ? countries.map(country => (
<Table.Cell key={year.year + country}>
{year.countries[country] || 0}
</Table.Cell>
))}
)) : null}
{Object.keys(year.creditValues).map(creditKey => (
<Table.Cell key={creditKey}>{year.creditValues[creditKey]}
</Table.Cell>
Expand Down

0 comments on commit 7a7dc94

Please sign in to comment.