diff --git a/apps/red-ui/src/app/models/file/annotation.wrapper.ts b/apps/red-ui/src/app/models/file/annotation.wrapper.ts index 4688b0587..054b7f8ed 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -60,6 +60,7 @@ export class AnnotationWrapper implements IListable { hasBeenForcedRedaction: boolean; hasBeenRemovedByManualOverride: boolean; isRemoved = false; + isRemovedLocally = false; get isRuleBased() { return this.engines.includes(LogEntryEngines.RULE); @@ -237,6 +238,8 @@ export class AnnotationWrapper implements IListable { annotationWrapper.IMAGE_HINT = logEntry.entryType === EntityTypes.IMAGE_HINT; annotationWrapper.isRemoved = logEntry.state === EntryStates.REMOVED; + annotationWrapper.isRemovedLocally = + logEntry.manualChanges.slice(-1)[0]?.manualRedactionType === ManualRedactionTypes.REMOVE_LOCALLY; annotationWrapper.numberOfComments = logEntry.numberOfComments; annotationWrapper.imported = logEntry.imported; diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.html b/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.html index 50a482417..99c2ed520 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.html +++ b/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.html @@ -10,7 +10,7 @@