Poprawki listy scenerii

This commit is contained in:
2021-10-08 11:22:49 +02:00
parent 1c535838ed
commit 23e07a2987
2 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -382,12 +382,12 @@ export const store = createStore<State>({
const stopInfoIndex = timetable.followingStops.findIndex(stop => {
const stopName = stop.stopNameRAW.toLowerCase();
if (stationName === stopName) return true;
if (stationName === stopName) return true;
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 (station.stops && station.stops.includes(stop.stopNameRAW)) return true;
// if (station.stops && station.stops.includes(stop.stopNameRAW)) return true;
return false;
});