Hide walking legs of journeys
This commit is contained in:
@@ -10,7 +10,7 @@ export function addJourneyToDraftingBoard(journey) {
|
||||
|
||||
let first_station = true;
|
||||
|
||||
for (let leg of journey.legs) {
|
||||
for (let leg of journey.legs.filter(item => !("walking" in item))) {
|
||||
if (first_station) {
|
||||
let el_origin_name = EL("div", {
|
||||
class: [ "station-name" ],
|
||||
|
Reference in New Issue
Block a user