From 6add09e57435a5f497ed71366d5eaac1f1ca6eed Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Mon, 3 Apr 2023 13:56:54 +0300 Subject: [PATCH] RED-6504: fix annotation shown as redacted --- apps/red-ui/src/app/models/file/annotation.wrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/models/file/annotation.wrapper.ts b/apps/red-ui/src/app/models/file/annotation.wrapper.ts index 4788f33e9..0ed60fa91 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -494,7 +494,7 @@ export class AnnotationWrapper implements IListable, Record { if (lastManualChange.processed) { switch (lastManualChange.annotationStatus) { case LogEntryStatuses.APPROVED: - return SuperTypes.Redaction; + return redactionLogEntry.recommendation ? SuperTypes.Recommendation : SuperTypes.Skipped; case LogEntryStatuses.DECLINED: return isHintDictionary ? SuperTypes.Hint : SuperTypes.Skipped; case LogEntryStatuses.REQUESTED: