Merge branch 'VM/RED-9400' into 'master'

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

Closes RED-9400

See merge request redactmanager/red-ui!487
This commit is contained in:
Dan Percic 2024-06-28 09:09:25 +02:00
commit e35d20e57e
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