mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-04 22:08:12 +00:00
fix: detecting podg in timetables
This commit is contained in:
@@ -125,7 +125,7 @@ export const useMainStore = defineStore('mainStore', {
|
|||||||
const timetablePath = trainObj.timetableData.timetablePath;
|
const timetablePath = trainObj.timetableData.timetablePath;
|
||||||
|
|
||||||
trainObj.timetableData.followingStops.forEach((stop, i) => {
|
trainObj.timetableData.followingStops.forEach((stop, i) => {
|
||||||
if (/strong|podg\.|pe\./.test(stop.stopName)) {
|
if (/strong|podg|pe/.test(stop.stopName)) {
|
||||||
const checkpointTrain: CheckpointTrain = {
|
const checkpointTrain: CheckpointTrain = {
|
||||||
train: trainObj,
|
train: trainObj,
|
||||||
checkpointStop: stop,
|
checkpointStop: stop,
|
||||||
|
|||||||
Reference in New Issue
Block a user