diff --git a/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts b/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts index 2885806e6..3e3197507 100644 --- a/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts +++ b/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts @@ -33,6 +33,10 @@ export class ManualAnnotationDialogComponent implements OnInit { @ViewChild('textarea') private _textarea: ElementRef; + get title() { + return this._manualAnnotationService.getTitle(this.manualRedactionEntryWrapper.type); + } + constructor( private readonly _appStateService: AppStateService, private readonly _userService: UserService, @@ -97,10 +101,6 @@ export class ManualAnnotationDialogComponent implements OnInit { ); } - get title() { - return this._manualAnnotationService.getTitle(this.manualRedactionEntryWrapper.type); - } - private _enhanceManualRedaction(addRedactionRequest: AddRedactionRequest) { const legalOption: any = this.redactionForm.get('reason').value; addRedactionRequest.type = this.redactionForm.get('dictionary').value;