mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-04 22:08:12 +00:00
Poprawki błędów (1.3.5)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -32,8 +32,6 @@ export default class StationFilterManager {
|
|||||||
filteredStationList(stationList: Station[]): Station[] {
|
filteredStationList(stationList: Station[]): Station[] {
|
||||||
return stationList
|
return stationList
|
||||||
.filter(station => {
|
.filter(station => {
|
||||||
if (!station.reqLevel || station.reqLevel == '-1') return true;
|
|
||||||
|
|
||||||
if ((station.nonPublic || !station.reqLevel) && this.filters['nonPublic']) return false;
|
if ((station.nonPublic || !station.reqLevel) && this.filters['nonPublic']) return false;
|
||||||
|
|
||||||
if (station.online && station.occupiedTo == 'KOŃCZY' && this.filters['ending']) return false;
|
if (station.online && station.occupiedTo == 'KOŃCZY' && this.filters['ending']) return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user