diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/edit-redaction-dialog/edit-redaction-dialog.component.ts b/apps/red-ui/src/app/modules/file-preview/dialogs/edit-redaction-dialog/edit-redaction-dialog.component.ts index f5ad1c9f9..306e149fe 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/edit-redaction-dialog/edit-redaction-dialog.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/edit-redaction-dialog/edit-redaction-dialog.component.ts @@ -45,7 +45,8 @@ export class EditRedactionDialogComponent this.isModifyDictionary = annotations.every(annotation => annotation.isModifyDictionary); this.isManualRedaction = annotations.every(annotation => annotation.type === SuperTypes.ManualRedaction); this.isHint = annotations.every(annotation => annotation.HINT); - this.showExtras = !(this.isImage || this.isHint); + const isRedacted = annotations.every(annotation => annotation.isRedacted); + this.showExtras = !((this.isImage && !isRedacted) || this.isHint); } get displayedDictionaryLabel() {