mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Tłumaczenia i poprawki designu
This commit is contained in:
@@ -140,7 +140,7 @@ export function getScheduledTrain(train: Train, trainStopIndex: number, stationN
|
||||
|
||||
if (currentStop.departureLine == null) break;
|
||||
|
||||
if (!/_|it|sbl/gi.test(currentStop.departureLine)) {
|
||||
if (!/-|_|it|sbl/gi.test(currentStop.departureLine)) {
|
||||
departureLine = currentStop.departureLine;
|
||||
break;
|
||||
}
|
||||
@@ -151,7 +151,7 @@ export function getScheduledTrain(train: Train, trainStopIndex: number, stationN
|
||||
|
||||
if (currentStop.arrivalLine == null) break;
|
||||
|
||||
if (!/_|it|sbl/gi.test(currentStop.arrivalLine)) {
|
||||
if (!/-|_|it|sbl/gi.test(currentStop.arrivalLine)) {
|
||||
arrivingLine = currentStop.arrivalLine;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user