Fixed Excel failing report generation for excluded documents

This commit is contained in:
Dominique Eifländer 2021-08-17 15:57:54 +02:00
parent f37491f3e2
commit e49f00ba03

View File

@ -145,6 +145,11 @@ public class ExcelTemplateReportGenerationService {
private void addEntryRows(Sheet sheet, List<ReportRedactionEntry> reportEntries, String filename,
boolean isLastFile) {
if (reportEntries.isEmpty()){
return;
}
if (sheet == null) {
return;
}