Skip to content

Commit

Permalink
fix(PatternStopCard): Display null continuous_pickup as 1 (no continu…
Browse files Browse the repository at this point in the history
…ous pickup)
  • Loading branch information
philip-cline committed Feb 27, 2022
1 parent 2b5bb43 commit 4bfe662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/editor/components/pattern/PatternStopCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ class PatternStopContents extends Component<Props, State> {
selectType='continuousPickup'
shouldHaveDisabledOption
title='Indicates whether a rider can board the transit vehicle anywhere along the vehicle’s travel path.'
value={patternStop.continuousPickup || ''}
value={patternStop.continuousPickup || 1}
/>
</Col>
<Col xs={6}>
Expand All @@ -435,7 +435,7 @@ class PatternStopContents extends Component<Props, State> {
selectType='continuousDropOff'
shouldHaveDisabledOption
title='Indicates whether a rider can alight from the transit vehicle at any point along the vehicle’s travel path.'
value={patternStop.continuousDropOff || ''}
value={patternStop.continuousDropOff || 1}
/>
</Col>
</Row>
Expand Down

0 comments on commit 4bfe662

Please sign in to comment.