diff --git a/app/configurations/config.default.js b/app/configurations/config.default.js index acd193f4e3..de91714195 100644 --- a/app/configurations/config.default.js +++ b/app/configurations/config.default.js @@ -834,6 +834,4 @@ export default { }, }, ], - - scooterRoutingOn: false, }; diff --git a/app/configurations/config.hsl.js b/app/configurations/config.hsl.js index e7db804c81..2d7005ba1c 100644 --- a/app/configurations/config.hsl.js +++ b/app/configurations/config.hsl.js @@ -731,6 +731,4 @@ export default { }, startSearchFromUserLocation: true, - - scooterRoutingOn: false, }; diff --git a/app/configurations/config.matka.js b/app/configurations/config.matka.js index dfb8e0329d..13177ec3a6 100644 --- a/app/configurations/config.matka.js +++ b/app/configurations/config.matka.js @@ -391,6 +391,4 @@ export default { includePublicWithBikePlan: true, startSearchFromUserLocation: true, - - scooterRoutingOn: false, }; diff --git a/app/util/planParamUtil.js b/app/util/planParamUtil.js index 053efc9d1f..846d489f51 100644 --- a/app/util/planParamUtil.js +++ b/app/util/planParamUtil.js @@ -199,7 +199,7 @@ export function planQueryNeeded( case PLANTYPE.SCOOTERTRANSIT: /* special logic: relaxed scooter query is made only if no networks allowed */ return ( - config.scooterRoutingOn && + config.transportModes.scooter.availableForSelection && transitModes.length > 0 && !wheelchair && (relaxSettings