RED-9942 - Don't skip images on file

This commit is contained in:
Andrei Isvoran 2024-08-23 13:03:25 +03:00
parent 3eb97d614f
commit b562ffdf10

View File

@ -167,7 +167,7 @@ public class TOCEnrichmentService {
}
}
if (!startBlocks.isEmpty()) {
if (!startBlocks.isEmpty() || !startImages.isEmpty()) {
TableOfContentItem unassigned = new TableOfContentItem(null);
unassigned.setSectionBlocks(startBlocks);
unassigned.setImages(startImages);