RED-6730 - Annotation appears as redaction instead of skipped/recommendation(corner case)

This commit is contained in:
Valentin Mihai 2023-05-22 11:55:28 +03:00
parent 5154d8b03f
commit 0ba8d54ca2

View File

@ -509,7 +509,7 @@ export class AnnotationWrapper implements IListable, Record<string, unknown> {
if (lastManualChange.processed) {
switch (lastManualChange.annotationStatus) {
case LogEntryStatuses.APPROVED:
return redactionLogEntry.recommendation ? SuperTypes.Recommendation : SuperTypes.Hint;
return redactionLogEntry.recommendation ? SuperTypes.Recommendation : SuperTypes.Skipped;
case LogEntryStatuses.DECLINED:
return isHintDictionary ? SuperTypes.Hint : SuperTypes.Skipped;
case LogEntryStatuses.REQUESTED: