Skip to content

Commit

Permalink
fix: fix lint and flow
Browse files Browse the repository at this point in the history
  • Loading branch information
landonreed committed May 7, 2019
1 parent f51b9b5 commit 1f886f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/manager/actions/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export function handleFinishedJob (job: ServerJob) {
// immediately deleted, the server does not also provide an option to
// download via S3 (it never uploads the file to S3).
window.location.assign(`${API_PREFIX}downloadshapes/${job.jobId}`)
break
case 'EXPORT_SNAPSHOT_TO_GTFS':
if (job.parentJobId) {
console.log('Not downloading snapshot GTFS. Export job part of feed version creation.')
Expand Down
2 changes: 1 addition & 1 deletion lib/manager/components/version/VersionButtonToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class VersionButtonToolbar extends Component<ToolbarProps> {
})
}

_onDownloadShapes = (type: string) => {
_onDownloadShapes = (type: 'STOPS' | 'ROUTES') => {
this.props.exportVersionShapes(this.props.version.id, type)
}

Expand Down

0 comments on commit 1f886f5

Please # to comment.