Fixed Excel failing report generation for excluded documents
This commit is contained in:
parent
f37491f3e2
commit
e49f00ba03
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user