From 108be7f225b17b966d4a8e66edaf814f3575a1d9 Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Wed, 11 Nov 2020 21:16:30 +0200 Subject: [PATCH] working flows --- .../manual-annotation-dialog.component.ts | 2 +- .../annotation-actions.component.html | 4 ++-- .../annotation-actions.component.ts | 12 ++++++++-- .../screens/file/model/annotation.wrapper.ts | 23 +++++++++++++++---- .../file/service/file-download.service.ts | 2 +- .../red-ui/src/app/state/app-state.service.ts | 4 ---- 6 files changed, 33 insertions(+), 14 deletions(-) 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 48aa70dbf..c0464d8df 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 @@ -87,7 +87,7 @@ export class ManualAnnotationDialogComponent implements OnInit { if (dictionaryData.hint) { this.hintDictionaries.push(dictionaryData); } - if (!dictionaryData.hint) { + if (!dictionaryData.hint && dictionaryData.type !== 'manual') { this.redactionDictionaries.push(dictionaryData); } } diff --git a/apps/red-ui/src/app/screens/file/annotation-actions/annotation-actions.component.html b/apps/red-ui/src/app/screens/file/annotation-actions/annotation-actions.component.html index 84dbd9f0f..6803f0893 100644 --- a/apps/red-ui/src/app/screens/file/annotation-actions/annotation-actions.component.html +++ b/apps/red-ui/src/app/screens/file/annotation-actions/annotation-actions.component.html @@ -1,4 +1,4 @@ -
+
@@ -12,7 +12,7 @@