From d6d0dcd0d8e083467eec164e81854233eea25f48 Mon Sep 17 00:00:00 2001 From: Landon Reed Date: Thu, 22 Feb 2018 12:02:13 -0500 Subject: [PATCH] fix(editor): fix fare transfers default value --- lib/editor/util/gtfs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/editor/util/gtfs.js b/lib/editor/util/gtfs.js index 0819184ab..9ace06285 100644 --- a/lib/editor/util/gtfs.js +++ b/lib/editor/util/gtfs.js @@ -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).