fix: rozkłady jazdy pokazują się na innych serwerach

This commit is contained in:
2023-12-06 20:29:28 +01:00
parent 07a77c463b
commit 188857d335
4 changed files with 8 additions and 3 deletions
@@ -255,7 +255,8 @@ export default defineComponent({
?.filter(
(train) =>
train.checkpointName.toLocaleLowerCase() ==
(this.chosenCheckpoint || this.station.name).toLocaleLowerCase()
(this.chosenCheckpoint || this.station.name).toLocaleLowerCase() &&
train.region == this.store.region.id
)
.sort((a, b) => {
if (a.stopStatusID > b.stopStatusID) return 1;