fixed request state for remove skipped

This commit is contained in:
Timo Bejan 2021-08-25 11:41:07 +03:00
parent 16f962251a
commit 40b80e1cce
2 changed files with 12 additions and 1 deletions

View File

@ -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) {

@ -1 +1 @@
Subproject commit 83e4fe23f97967e867ef16be45438fb8352040a6
Subproject commit ee57691f12f3f6cc19b04cb78c700c1b24cde7e8