RED-9604 - Don't check that removed entries still have comments

This commit is contained in:
Andrei Isvoran 2024-07-10 17:37:00 +03:00
parent b4c7ae0990
commit 1766c40c6e

View File

@ -117,7 +117,7 @@ public class AnalysisFlagsCalculationService {
hasUpdates = true;
}
if (entry.getNumberOfComments() > 0) {
if (entry.getNumberOfComments() > 0 && !entry.getState().equals(EntryState.REMOVED)) {
hasComments = true;
}