fixed wrong reports info filtering
This commit is contained in:
@@ -190,7 +190,7 @@ public class Report extends Appliance {
|
||||
}
|
||||
|
||||
List<ReportRepository.AllReports.Report> allOpenReports = allReportsResponse.data().reports().stream()
|
||||
.filter(report -> report.status() == ReportRepository.Status.open)
|
||||
.filter(report -> report.status() == null)
|
||||
.toList();
|
||||
|
||||
if(allOpenReports.isEmpty()) return;
|
||||
|
||||
Reference in New Issue
Block a user