Skip to content

Commit

Permalink
fix(FeedVersionTabs): Fix github lint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup committed Jan 28, 2020
1 parent b7c0c50 commit 03b77bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/manager/components/version/FeedVersionTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default class FeedVersionTabs extends Component<Props> {
const timeTableOptions = {...tableOptions}
// Add default page zie for timetable options
timeTableOptions.options = {...timeTableOptions.options, sizePerPage: 50}
const countFields = ['agencyCount', 'routeCount', 'stopCount', 'tripCount', 'stopTimesCount' /*, 'errorCount'*/]
const countFields = ['agencyCount', 'routeCount', 'stopCount', 'tripCount', 'stopTimesCount']
const daysActive = moment(version.validationSummary.endDate)
.diff(moment(version.validationSummary.startDate), 'days')
return (
Expand All @@ -118,6 +118,7 @@ export default class FeedVersionTabs extends Component<Props> {
{comparedVersion
? <sup style={{width: 0, display: 'inline-block'}}>
<Label
htmlFor
style={{fontSize: '50%', padding: '0 0.2em 0.1em'}}
bsStyle={diff > 0 ? 'success' : (diff < 0 ? 'danger' : 'default')}
title={`Compared to Version ${comparedVersionIndex}`}>
Expand Down

0 comments on commit 03b77bb

Please sign in to comment.