mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Poprawki
This commit is contained in:
+4
-4
@@ -333,7 +333,7 @@ export const store = createStore<State>({
|
||||
statusTimestamp: -3,
|
||||
statusTimeString: "",
|
||||
stationTrains: [],
|
||||
scheduledTrains: [],
|
||||
scheduledTrains: []
|
||||
});
|
||||
|
||||
return acc;
|
||||
@@ -385,10 +385,10 @@ export const store = createStore<State>({
|
||||
if (stopName.includes(stationName) && !stop.stopName.includes("po.") && !stop.stopName.includes("podg.")) return true;
|
||||
if (stationName.includes(stopName) && !stop.stopName.includes("po.") && !stop.stopName.includes("podg.")) return true;
|
||||
if (stopName.includes("podg.") && stopName.split(", podg.")[0] && stationName.includes(stopName.split(", podg.")[0])) return true;
|
||||
// if (stationName)
|
||||
// if (station.stops && station.stops.includes(stop.stopNameRAW)) return true;
|
||||
|
||||
if (station.checkpoints.length > 0 && station.checkpoints.some(cp => cp.checkpointName.includes(stop.stopNameRAW))) return true;
|
||||
if (station.checkpoints && station.checkpoints.length > 0 && station.checkpoints[0].checkpointName)
|
||||
|
||||
// if (station.stops && station.stops.includes(stop.stopNameRAW)) return true;
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user