From d503e4c6602c05bfd8669c04e31f1d5245c06032 Mon Sep 17 00:00:00 2001 From: Spythere Date: Thu, 4 Mar 2021 13:01:45 +0100 Subject: [PATCH] Aktualizacja scenerii, poprawki store --- src/data/stationData.json | 21 +++++++++++++++++++++ src/store/store.ts | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/data/stationData.json b/src/data/stationData.json index 36f05ed..34e854a 100644 --- a/src/data/stationData.json +++ b/src/data/stationData.json @@ -2080,5 +2080,26 @@ false, false, false + ], + [ + "Stare Lipowo", + "https://td2.info.pl/scenerie/stare-lipowo/", + "", + null, + "", + "NIE", + "współczesna", + "SCS", + "TAK (Szlaki Dw, Pk, Pr-SL)", + "TAK", + 0, + 0, + 4, + 0, + ["Stare Lipowo", "Przęsy"], + null, + false, + false, + false ] ] diff --git a/src/store/store.ts b/src/store/store.ts index 06e8ff4..8207f86 100644 --- a/src/store/store.ts +++ b/src/store/store.ts @@ -616,7 +616,7 @@ export default class Store extends VuexModule { for (let checkpoint of station.checkpoints) { timetableList.reduce((acc, data) => { data.followingStops - .filter(stop => stop.stopNameRAW === checkpoint.checkpointName) + .filter(stop => stop.stopNameRAW.toLowerCase() === checkpoint.checkpointName.toLowerCase()) .forEach(stopInfo => { // const stopInfo = data.followingStops[stopInfoIndex];