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 aaac10fa3..e16705469 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -426,8 +426,17 @@ export class AnnotationWrapper { case ManualRedactionType.RECATEGORIZE: switch (lastManualChange.annotationStatus) { case LogEntryStatus.APPROVED: - case LogEntryStatus.DECLINED: - return redactionLogEntry.redacted ? 'redaction' : 'hint'; + case LogEntryStatus.DECLINED: { + if (redactionLogEntry.recommendation) { + return 'recommendation'; + } else if (redactionLogEntry.redacted) { + return 'redaction'; + } else if (redactionLogEntry.hint) { + return 'hint'; + } else { + return 'skipped'; + } + } case LogEntryStatus.REQUESTED: return 'suggestion-recategorize-image'; }