From f24ef88f5cf9f042fb98ae689d6b22ac41df2c37 Mon Sep 17 00:00:00 2001 From: Spythere Date: Mon, 22 Feb 2021 23:32:56 +0100 Subject: [PATCH] =?UTF-8?q?Poprawki=20w=20filtrowaniu=20rozk=C5=82ad=C3=B3?= =?UTF-8?q?w=20jazdy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/store.ts b/src/store/store.ts index fc57b63..c17481f 100644 --- a/src/store/store.ts +++ b/src/store/store.ts @@ -477,7 +477,7 @@ export default class Store extends VuexModule { if (stationName === stopName) return true; if (stopName.includes(stationName) && !stop.stopName.includes('po.') && !stop.stopName.includes('podg.')) return true; if (stationName.includes(stopName) && !stop.stopName.includes('po.') && !stop.stopName.includes('podg.')) return true; - if (stopName.includes('podg.') && stopName.split(', podg.')[0] && stationName === stopName.split(', podg.')[0]) return true; + if (stopName.includes('podg.') && stopName.split(', podg.')[0] && stationName.includes(stopName.split(', podg.')[0])) return true; if (station.stops && station.stops.includes(stop.stopNameRAW)) return true;