From 03f5c9c90f15be8cceef5ae98daf1456f152acea Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Mon, 6 Nov 2023 13:43:17 +0200 Subject: [PATCH] RED-7761 - Missing fields in Edit Dialog for Signature (redacted images) --- .../edit-redaction-dialog/edit-redaction-dialog.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() {