diff --git a/app/component/map/tile-layer/RentalVehicles.js b/app/component/map/tile-layer/RentalVehicles.js index 8b15d5f442..b3d4f91a62 100644 --- a/app/component/map/tile-layer/RentalVehicles.js +++ b/app/component/map/tile-layer/RentalVehicles.js @@ -166,7 +166,8 @@ class RentalVehicles { shouldShowRentalVehicle = (id, network, pickupAllowed, formFactor) => (!this.tile.stopsToShow || this.tile.stopsToShow.includes(id)) && (!network || - (this.config.vehicleRental.networks[network].enabled && + (this.config.vehicleRental.networks[network] && + this.config.vehicleRental.networks[network].enabled && this.config.vehicleRental.networks[network].showRentalVehicles && this.config.vehicleRental.networks[network].type === formFactor.toLowerCase())) && diff --git a/app/configurations/config.kela.js b/app/configurations/config.kela.js index 1306c3fd20..714bd8689b 100644 --- a/app/configurations/config.kela.js +++ b/app/configurations/config.kela.js @@ -115,7 +115,6 @@ export default { 'mode-ferry-pier': '#666666', 'mode-citybike': '#FCBC19', 'mode-citybike-secondary': '#333333', - 'mode-scooter': '#BABABA', }, },