mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Tłumaczenia i poprawki designu
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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