Skip to content

Commit

Permalink
fix(editor): fix fare transfers default value
Browse files Browse the repository at this point in the history
  • Loading branch information
landonreed committed Feb 22, 2018
1 parent faa79d2 commit d6d0dcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/editor/util/gtfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export function generateNullProps (component: string): any {
.forEach(fieldName => { props[fieldName] = null })
if (component === 'fare') {
props.fare_rules = []
props.transfers = ''
} else if (component === 'calendar') {
// FIXME: Need to set days of week manually (null values result in failed
// write operation).
Expand Down

0 comments on commit d6d0dcd

Please sign in to comment.