mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
fix: wyświetlanie poprawnych id RJ
This commit is contained in:
@@ -24,7 +24,7 @@ function filterTrainList(trainList: Train[], searchedTrain: string, searchedDriv
|
||||
(train) => {
|
||||
const isFiltered = filters.every(f => {
|
||||
if (f.isActive) return true;
|
||||
|
||||
|
||||
if (!train.timetableData) return filters.find(filter => filter.id == TrainFilterType.noTimetable)!.isActive;
|
||||
|
||||
switch (f.id) {
|
||||
|
||||
Reference in New Issue
Block a user