RED-8702: Explore document databases to store entityLog
* fix for duplicate images in document structure that are linked to multiple sections
This commit is contained in:
parent
8bd0de6263
commit
9778ece992
@ -215,6 +215,7 @@ public class SectionsBuilderService {
|
|||||||
.getX() <= xMax && image.getPosition().getY() >= yMin && image.getPosition().getY() <= yMax) {
|
.getX() <= xMax && image.getPosition().getY() >= yMin && image.getPosition().getY() <= yMax) {
|
||||||
section.getImages().add(image);
|
section.getImages().add(image);
|
||||||
image.setAppendedToSection(true);
|
image.setAppendedToSection(true);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!image.isAppendedToSection()) {
|
if (!image.isAppendedToSection()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user