Skip to content

Commit

Permalink
fix(GtfsPlusVersionSummary): add missing key
Browse files Browse the repository at this point in the history
  • Loading branch information
landonreed committed Mar 14, 2017
1 parent 7e3a418 commit 651bf0a
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions lib/gtfsplus/components/GtfsPlusVersionSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,18 @@ export default class GtfsPlusVersionSummary extends Component {
</tr>
</thead>
<tbody>
{getConfigProperty('modules.gtfsplus.spec').map(table => {
return (<tr style={{ color: this.isTableIncluded(table.id) === 'Yes' ? 'black' : 'lightGray' }}>
<td>{table.name}</td>
<td>{this.isTableIncluded(table.id)}</td>
<td>{this.tableRecordCount(table.id)}</td>
<td>{this.validationIssueCount(table.id)}</td>
<td />
</tr>)
{getConfigProperty('modules.gtfsplus.spec').map((table, index) => {
return (
<tr
key={index}
style={{ color: this.isTableIncluded(table.id) === 'Yes' ? 'black' : 'lightGray' }}>
<td>{table.name}</td>
<td>{this.isTableIncluded(table.id)}</td>
<td>{this.tableRecordCount(table.id)}</td>
<td>{this.validationIssueCount(table.id)}</td>
<td />
</tr>
)
})}
</tbody>
</Table>
Expand Down

0 comments on commit 651bf0a

Please sign in to comment.