RED-1637: Fixed hasImages flag
This commit is contained in:
parent
6fd4115e93
commit
5d5b3529cd
@ -27,7 +27,7 @@ public class AnalyzeResponseService {
|
||||
boolean hasImages = redactionLog.getRedactionLogEntry()
|
||||
.stream()
|
||||
.filter(entry -> !entry.isExcluded())
|
||||
.anyMatch(entry -> entry.isHint() && entry.getType().equals("image"));
|
||||
.anyMatch(entry -> entry.isHint() && entry.getType().equals("image") || entry.isImage());
|
||||
|
||||
boolean hasUpdates = redactionChangeLog != null && redactionChangeLog.getRedactionLogEntry() != null && !redactionChangeLog
|
||||
.getRedactionLogEntry()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user