mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Poprawki filtrów
This commit is contained in:
@@ -96,7 +96,7 @@ const filterStations = (station: Station, filters: Filter) => {
|
||||
const routes = station.generalInfo.routes;
|
||||
const availability = station.generalInfo.availability;
|
||||
|
||||
if (filters['abandoned'] && availability == 'abandoned') return returnMode;
|
||||
if (filters['abandoned'] && availability == 'abandoned' && !station.onlineInfo) return returnMode;
|
||||
|
||||
if (availability == 'default' && filters['default']) return returnMode;
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user