hotfix: detecting user timetable status at checkpoints

This commit is contained in:
2024-05-30 14:29:09 +02:00
parent ccfcca8728
commit 785a42b849
2 changed files with 4 additions and 2 deletions
@@ -63,7 +63,9 @@ export default defineComponent({
return this.onlineScenery.stationTrains.map((train) => {
const stop = train.timetableData?.followingStops.find(
(stop) => stop.stopNameRAW.toLowerCase() == name.toLowerCase()
(stop) =>
stop.stopNameRAW.toLowerCase() == name.toLowerCase() ||
this.station?.generalInfo?.checkpoints.includes(stop.stopNameRAW)
);
const status = stop