Visual prototype to filter routes
This commit is contained in:
@ -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]
|
||||
}
|
||||
|
Reference in New Issue
Block a user