RED-9400 - Forced redaction shows two force entries in manual changes tooltip

This commit is contained in:
Valentin Mihai 2024-06-27 18:02:21 +03:00
parent 8daacfcf9a
commit fd8ea88d31
2 changed files with 5 additions and 5 deletions

View File

@ -266,10 +266,10 @@ export class AnnotationWrapper implements IListable {
annotationWrapper.hasLegalBasisChanged = !!logEntry.manualChanges?.find(
c => c.manualRedactionType === ManualRedactionTypes.LEGAL_BASIS_CHANGE,
);
annotationWrapper.hasBeenForcedHint = !!logEntry.manualChanges?.find(c => c.manualRedactionType === ManualRedactionTypes.FORCE);
annotationWrapper.hasBeenForcedRedaction = !!logEntry.manualChanges?.find(
c => c.manualRedactionType === ManualRedactionTypes.FORCE,
);
annotationWrapper.hasBeenForcedHint =
!!logEntry.manualChanges?.find(c => c.manualRedactionType === ManualRedactionTypes.FORCE) && annotationWrapper.HINT;
annotationWrapper.hasBeenForcedRedaction =
!!logEntry.manualChanges?.find(c => c.manualRedactionType === ManualRedactionTypes.FORCE) && !annotationWrapper.HINT;
annotationWrapper.hasBeenRemovedByManualOverride = !!logEntry.manualChanges?.find(
c => c.manualRedactionType === ManualRedactionTypes.REMOVE,
);

@ -1 +1 @@
Subproject commit 1c48cea02e97efb5d40f69e844484c6611985f5e
Subproject commit ce334dbdebffef79a92d0a5ab9734710d527b8fe