Update logo for CTS
This commit is contained in:
parent
af61173e9d
commit
e58ad34e43
@ -202,9 +202,13 @@ function getTrainType(train) {
|
||||
default:
|
||||
return trainType
|
||||
}
|
||||
case "FR-IDF-IDFM":
|
||||
case "FR-IDFM":
|
||||
const route_split = train.routeShortName.split(" ")
|
||||
if (route_split[0] === "Bus")
|
||||
return route_split[1]
|
||||
return route_split[0]
|
||||
case "FR-GES-CTS":
|
||||
return "A"
|
||||
return train.routeShortName.split(" ")[1]
|
||||
case "FR-EUROSTAR":
|
||||
return "Eurostar"
|
||||
case "IT-FRA-TI":
|
||||
@ -216,7 +220,6 @@ function getTrainType(train) {
|
||||
return "NJ"
|
||||
return "ÖBB"
|
||||
case "CH-ALL":
|
||||
return "A"
|
||||
default:
|
||||
return train.routeShortName?.split(" ")[0]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user