fix: wyświetlanie poprawnych id RJ

This commit is contained in:
2023-01-01 02:57:11 +01:00
parent 75685c1e0e
commit 633f05f690
6 changed files with 2395 additions and 2308 deletions
+1 -1
View File
@@ -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) {