From 6341dc2d2213d1a47e7e7ccaa9166c1eeea59b7a Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Tue, 13 Dec 2022 16:10:07 +0200 Subject: [PATCH] RED-5773: Fixed OCR resize suggestion not being visible. --- .../app/modules/pdf-viewer/services/annotation-draw.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts b/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts index 4833ce1e4..8f7b17d59 100644 --- a/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts +++ b/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts @@ -149,7 +149,7 @@ export class AnnotationDrawService { annotation.Hidden = annotationWrapper.isChangeLogRemoved || (hideSkipped && annotationWrapper.isSkipped) || - annotationWrapper.isOCR || + (annotationWrapper.isOCR && !annotationWrapper.isSuggestionResize) || this._annotationManager.isHidden(annotationWrapper.annotationId); annotation.setCustomData('redact-manager', 'true'); annotation.setCustomData('redaction', String(annotationWrapper.previewAnnotation));