From 40b80e1cce956f641e8572231d5bae18cf2cc233 Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Wed, 25 Aug 2021 11:41:07 +0300 Subject: [PATCH] fixed request state for remove skipped --- apps/red-ui/src/app/models/file/annotation.wrapper.ts | 11 +++++++++++ libs/common-ui | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/models/file/annotation.wrapper.ts b/apps/red-ui/src/app/models/file/annotation.wrapper.ts index d47b034d3..98cbf1342 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -342,6 +342,17 @@ export class AnnotationWrapper { } } + if (!redactionLogEntryWrapper.redacted && !redactionLogEntryWrapper.hint) { + if (redactionLogEntryWrapper.status === 'REQUESTED') { + if (redactionLogEntryWrapper.dictionaryEntry) { + annotationWrapper.superType = + redactionLogEntryWrapper.manualRedactionType === 'ADD' + ? 'suggestion-add-dictionary' + : 'suggestion-remove-dictionary'; + } + } + } + if (redactionLogEntryWrapper.redacted || redactionLogEntryWrapper.hint) { if (redactionLogEntryWrapper.status === 'REQUESTED') { if (redactionLogEntryWrapper.dictionaryEntry) { diff --git a/libs/common-ui b/libs/common-ui index 83e4fe23f..ee57691f1 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit 83e4fe23f97967e867ef16be45438fb8352040a6 +Subproject commit ee57691f12f3f6cc19b04cb78c700c1b24cde7e8