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 f23eab407..2b6674624 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -441,7 +441,7 @@ export class AnnotationWrapper { switch (lastManualChange.annotationStatus) { case LogEntryStatus.APPROVED: case LogEntryStatus.DECLINED: - return 'redaction'; + return redactionLogEntry.type === 'manual' ? 'manual-redaction' : 'redaction'; case LogEntryStatus.REQUESTED: return 'suggestion-change-legal-basis'; } @@ -452,9 +452,10 @@ export class AnnotationWrapper { case LogEntryStatus.DECLINED: if (redactionLogEntry.recommendation) { return 'recommendation'; - } else { - return redactionLogEntry.redacted ? 'redaction' : 'hint'; + } else if (redactionLogEntry.redacted) { + return redactionLogEntry.type === 'manual' ? 'manual-redaction' : 'redaction'; } + return 'hint'; case LogEntryStatus.REQUESTED: return 'suggestion-resize'; }