diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.ts b/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.ts index f338a3cda..8956b0d75 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/annotation-card/annotation-card.component.ts @@ -25,7 +25,8 @@ export class AnnotationCardComponent { ((this.annotation.isModifyDictionary && !this.annotation.isRemovedLocally && !this.annotation.hasBeenForcedHint && - this.annotation.lastManualChange !== ManualRedactionTypes.LEGAL_BASIS_CHANGE) || + (this.annotation.lastManualChange !== ManualRedactionTypes.LEGAL_BASIS_CHANGE && + this.annotation.lastManualChange !== ManualRedactionTypes.RESIZE_LOCALLY)) || this.annotation.type === ImageCategory.SIGNATURE) ); } diff --git a/libs/red-domain/src/lib/redaction-log/types.ts b/libs/red-domain/src/lib/redaction-log/types.ts index 06ce98d73..e6397adbe 100644 --- a/libs/red-domain/src/lib/redaction-log/types.ts +++ b/libs/red-domain/src/lib/redaction-log/types.ts @@ -18,6 +18,7 @@ export const ManualRedactionTypes = { RECATEGORIZE: 'RECATEGORIZE', LEGAL_BASIS_CHANGE: 'LEGAL_BASIS_CHANGE', RESIZE: 'RESIZE', + RESIZE_LOCALLY: 'RESIZE_LOCALLY', } as const; export type ManualRedactionType = ValuesOf;