diff --git a/apps/red-ui/src/app/modules/file-preview/services/annotation-actions.service.ts b/apps/red-ui/src/app/modules/file-preview/services/annotation-actions.service.ts index 863bd1b43..7a91628b3 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/annotation-actions.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/annotation-actions.service.ts @@ -7,11 +7,9 @@ import { AnnotationWrapper } from '@models/file/annotation.wrapper'; import { Core } from '@pdftron/webviewer'; import { DictionaryEntryTypes, - DownloadFileTypes, EarmarkOperation, type IBulkLocalRemoveRequest, IBulkRecategorizationRequest, - ILegalBasisChangeRequest, IRecategorizationRequest, IRectangle, type IRemoveRedactionRequest, @@ -51,7 +49,6 @@ import { FilePreviewDialogService } from './file-preview-dialog.service'; import { FilePreviewStateService } from './file-preview-state.service'; import { ManualRedactionService } from './manual-redaction.service'; import { SkippedService } from './skipped.service'; -import { NON_READABLE_CONTENT } from '../dialogs/rectangle-annotation-dialog/rectangle-annotation-dialog.component'; import { ForceAnnotationDialogComponent } from '../dialogs/force-redaction-dialog/force-annotation-dialog.component'; @Injectable() @@ -587,7 +584,7 @@ export class AnnotationActionsService { const redaction = redactions[0]; return { value: redaction.value, - rectangle: redaction.value === NON_READABLE_CONTENT, + rectangle: redaction.AREA, pageNumbers: dialogResult.pageNumbers, position: dialogResult.position, comment: dialogResult.comment,