handled corner case
This commit is contained in:
parent
dd91ad8446
commit
6f3ac88ff7
@ -134,7 +134,7 @@ export class AnnotationWrapper {
|
||||
}
|
||||
|
||||
// there has been an undo on a redaction remove
|
||||
if (redactionLogEntry?.manualRedactionType === 'REMOVE' && !idRemoval) {
|
||||
if (redactionLogEntry?.manualRedactionType === 'REMOVE' && !idRemoval && !redactionLogEntry.hint) {
|
||||
redactionLogEntry.redacted = true;
|
||||
}
|
||||
|
||||
@ -182,6 +182,7 @@ export class AnnotationWrapper {
|
||||
AnnotationWrapper._setSuperType(annotationWrapper, redactionLogEntry, manualRedactionEntry, idRemoval);
|
||||
|
||||
annotationWrapper.typeLabel = 'annotation-type.' + annotationWrapper.superType;
|
||||
|
||||
return annotationWrapper;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user