Visual prototype to filter routes

This commit is contained in:
2024-08-12 20:49:17 +02:00
parent a4a8cd9e9f
commit bd8d39fc1e
13 changed files with 630 additions and 19 deletions

View File

@ -257,6 +257,8 @@ function getTrainType(train, trip, route) {
if (trip.short_name?.startsWith("NJ"))
return "NJ"
return "ÖBB"
case "CH-ALL":
return route.desc
default:
return trip.short_name?.split(" ")[0]
}