Skip to content

Commit

Permalink
remove unnecessary config, check rental network
Browse files Browse the repository at this point in the history
  • Loading branch information
sharhio committed Sep 12, 2024
1 parent c5c6f21 commit 239fab1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/component/map/tile-layer/RentalVehicles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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())) &&
Expand Down
1 change: 0 additions & 1 deletion app/configurations/config.kela.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export default {
'mode-ferry-pier': '#666666',
'mode-citybike': '#FCBC19',
'mode-citybike-secondary': '#333333',
'mode-scooter': '#BABABA',
},
},

Expand Down

0 comments on commit 239fab1

Please sign in to comment.