fix: omitting "po" stops in timetable progress bar

This commit is contained in:
2024-08-19 23:56:15 +02:00
parent 80a5b56785
commit 551b60c733
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ export default defineComponent({
i < this.train.timetableData!.followingStops.length;
i++
) {
if (/po\.|sbl/gi.test(this.train.timetableData!.followingStops[i].stopNameRAW))
if (/(, po|sbl|, pe)/gi.test(this.train.timetableData!.followingStops[i].stopNameRAW))
activeMinorStopList.push(i);
else break;
}