From 23e8bbf69c637eea23041e5090644d01aa682861 Mon Sep 17 00:00:00 2001 From: Timo Date: Tue, 24 Nov 2020 19:11:42 +0200 Subject: [PATCH] Legal Optins / Reasons are now from backend --- .../manual-annotation-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4d76402ff..a51197fc5 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 @@ -46,7 +46,7 @@ export class ManualAnnotationDialogComponent implements OnInit { async ngOnInit() { this._legalBasisMappingControllerService.getLegalBasisMapping().subscribe((data) => { - for (let key of Object.keys(data.reasonByLegalBasis)) { + for (const key of Object.keys(data.reasonByLegalBasis)) { this.legalOptions.push({ legalBasis: key, label: data.reasonByLegalBasis[key]