Tłumaczenia i poprawki designu

This commit is contained in:
2022-07-10 22:42:07 +02:00
parent faed36c41c
commit 740ce9c815
12 changed files with 257 additions and 86 deletions
@@ -0,0 +1,12 @@
export interface DispatcherHistory {
currentDuration: number;
dispatcherId: number;
dispatcherName: string;
isOnline: boolean;
lastOnlineTimestamp: number;
region: string;
stationHash: string;
stationName: string;
timestampFrom: number;
timestampTo?: number;
}
+2 -2
View File
@@ -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;
}