Skip to content

Commit 3b87118

Browse files
Merge pull request #765 from ibi-group/fix-continuous-pickup-display-value
Display null continuous_pickup as 1 (no continous pickup)
2 parents 2b5bb43 + 4bfe662 commit 3b87118

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/editor/components/pattern/PatternStopCard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ class PatternStopContents extends Component<Props, State> {
424424
selectType='continuousPickup'
425425
shouldHaveDisabledOption
426426
title='Indicates whether a rider can board the transit vehicle anywhere along the vehicle’s travel path.'
427-
value={patternStop.continuousPickup || ''}
427+
value={patternStop.continuousPickup || 1}
428428
/>
429429
</Col>
430430
<Col xs={6}>
@@ -435,7 +435,7 @@ class PatternStopContents extends Component<Props, State> {
435435
selectType='continuousDropOff'
436436
shouldHaveDisabledOption
437437
title='Indicates whether a rider can alight from the transit vehicle at any point along the vehicle’s travel path.'
438-
value={patternStop.continuousDropOff || ''}
438+
value={patternStop.continuousDropOff || 1}
439439
/>
440440
</Col>
441441
</Row>

0 commit comments

Comments
 (0)