RED-7662 - Don't display hasHints flag if there are no hints

This commit is contained in:
Andrei Isvoran 2023-12-22 12:21:28 +02:00
parent b7c4ec2d75
commit 568979a4e1

View File

@ -98,7 +98,7 @@ public class AnalysisFlagsCalculationService {
hasRedactions = true;
}
if (!hasHints && entryType.equals(EntryType.HINT)) {
if (!hasHints && entryType.equals(EntryType.HINT) && !entry.getState().equals(EntryState.REMOVED)) {
hasHints = true;
}