From 3466451230c1837e2e8e013737ad25175ecc29ee Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Tue, 5 Sep 2023 11:22:40 +0300 Subject: [PATCH] RED-7155 hide redacted text when is rectangle resize --- .../resize-redaction-dialog.component.html | 22 ++++++++++--------- .../resize-redaction-dialog.component.ts | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.html b/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.html index 78c3aeab6..d5262ad5d 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.html +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.html @@ -6,17 +6,19 @@ >
-
- - {{ redaction.value }} -
+ +
+ + {{ redaction.value }} +
-
- - {{ data.text }} -
+
+ + {{ data.text }} +
+
- +
@@ -48,5 +50,5 @@
- + diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.ts b/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.ts index a17d04958..e78831197 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/resize-redaction-dialog/resize-redaction-dialog.component.ts @@ -20,7 +20,7 @@ export class ResizeRedactionDialogComponent readonly options: DetailsRadioOption[]; dictionaries: Dictionary[] = []; readonly redaction = this.data.redaction; - form: FormGroup<{ + readonly form: FormGroup<{ comment: FormControl; dictionary: FormControl; option: FormControl>;