File tree Expand file tree Collapse file tree 4 files changed +9
-19
lines changed
component/itinerary/customizesearch Expand file tree Collapse file tree 4 files changed +9
-19
lines changed Original file line number Diff line number Diff line change @@ -66,17 +66,14 @@ const StreetModeSelectorPanel = (
66
66
</ label >
67
67
</ div >
68
68
</ div >
69
- { ! config . includePublicWithBikePlan ||
70
- currentSettings . includeBikeSuggestions ? (
71
- < BikingOptionsSection
72
- bikeSpeed = { currentSettings . bikeSpeed }
73
- defaultSettings = { defaultSettings }
74
- bikeSpeedOptions = { config . defaultOptions . bikeSpeed }
75
- overrideStyle = { overrideStyle }
76
- />
77
- ) : null }
78
- { config . showBikeAndParkItineraries &&
79
- ! config . includePublicWithBikePlan ? (
69
+ < BikingOptionsSection
70
+ bikeSpeed = { currentSettings . bikeSpeed }
71
+ defaultSettings = { defaultSettings }
72
+ bikeSpeedOptions = { config . defaultOptions . bikeSpeed }
73
+ overrideStyle = { overrideStyle }
74
+ />
75
+
76
+ { config . showBikeAndParkItineraries ? (
80
77
< div className = "settings-mode-option-container" >
81
78
{ /* eslint-disable-next-line jsx-a11y/label-has-associated-control */ }
82
79
< label
Original file line number Diff line number Diff line change @@ -572,8 +572,6 @@ export default {
572
572
573
573
includeCarSuggestions : true ,
574
574
includeParkAndRideSuggestions : true ,
575
- // Include both bike and park and bike and public, if bike is enabled
576
- includePublicWithBikePlan : false ,
577
575
// Park and ride and car suggestions separated into two switches
578
576
separatedParkAndRideSwitch : true ,
579
577
Original file line number Diff line number Diff line change @@ -423,9 +423,6 @@ export default {
423
423
424
424
disabledLegTextModes : [ 'ferry' ] ,
425
425
426
- // Include both bike and park and bike and public, if bike is enabled
427
- includePublicWithBikePlan : true ,
428
-
429
426
startSearchFromUserLocation : true ,
430
427
431
428
minTransferTimeSelection : [
Original file line number Diff line number Diff line change @@ -222,9 +222,7 @@ export function planQueryNeeded(
222
222
transitModes . length > 0 &&
223
223
! wheelchair &&
224
224
config . showBikeAndParkItineraries &&
225
- ( config . includePublicWithBikePlan
226
- ? settings . includeBikeSuggestions
227
- : settings . showBikeAndParkItineraries )
225
+ settings . showBikeAndParkItineraries
228
226
) ;
229
227
230
228
case PLANTYPE . BIKETRANSIT :
You can’t perform that action at this time.
0 commit comments