RED-7980 - Not all unprocessed annotations are displayed correctly
This commit is contained in:
parent
9a368bc8a0
commit
9d22dea6fd
@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
@ -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<typeof ManualRedactionTypes>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user