mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Poprawka w filtrowaniu pociągów
This commit is contained in:
@@ -44,7 +44,7 @@ function filterTrainList(trainList: Train[], searchedTrain: string, searchedDriv
|
||||
return !train.timetableData.category.startsWith('T');
|
||||
|
||||
case TrainFilterType.other:
|
||||
return !/^[PXZ]\D{2}$/.test(train.timetableData.category);
|
||||
return !/^[PXZL]\D{2}$/.test(train.timetableData.category);
|
||||
|
||||
default:
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user