From b3f710897923383bb466a572b2ea449c6e56f08b Mon Sep 17 00:00:00 2001 From: Spythere Date: Fri, 12 Jul 2024 13:58:43 +0200 Subject: [PATCH] fix: detecting podg in timetables --- src/store/mainStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/mainStore.ts b/src/store/mainStore.ts index 1f53c51..db7cc11 100644 --- a/src/store/mainStore.ts +++ b/src/store/mainStore.ts @@ -125,7 +125,7 @@ export const useMainStore = defineStore('mainStore', { const timetablePath = trainObj.timetableData.timetablePath; trainObj.timetableData.followingStops.forEach((stop, i) => { - if (/strong|podg\.|pe\./.test(stop.stopName)) { + if (/strong|podg|pe/.test(stop.stopName)) { const checkpointTrain: CheckpointTrain = { train: trainObj, checkpointStop: stop,