RED-3557: Fixed identifying manual redaction super type
* Legal Basis Change * Resize
This commit is contained in:
parent
e515dc62ae
commit
a2eca4eff0
@ -441,7 +441,7 @@ export class AnnotationWrapper {
|
||||
switch (lastManualChange.annotationStatus) {
|
||||
case LogEntryStatus.APPROVED:
|
||||
case LogEntryStatus.DECLINED:
|
||||
return 'redaction';
|
||||
return redactionLogEntry.type === 'manual' ? 'manual-redaction' : 'redaction';
|
||||
case LogEntryStatus.REQUESTED:
|
||||
return 'suggestion-change-legal-basis';
|
||||
}
|
||||
@ -452,9 +452,10 @@ export class AnnotationWrapper {
|
||||
case LogEntryStatus.DECLINED:
|
||||
if (redactionLogEntry.recommendation) {
|
||||
return 'recommendation';
|
||||
} else {
|
||||
return redactionLogEntry.redacted ? 'redaction' : 'hint';
|
||||
} else if (redactionLogEntry.redacted) {
|
||||
return redactionLogEntry.type === 'manual' ? 'manual-redaction' : 'redaction';
|
||||
}
|
||||
return 'hint';
|
||||
case LogEntryStatus.REQUESTED:
|
||||
return 'suggestion-resize';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user