Hide walking legs of journeys

This commit is contained in:
2025-06-19 00:10:04 +02:00
parent 8e3c440d70
commit 65b91034d9

View File

@@ -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" ],