RED-5773: Fixed OCR resize suggestion not being visible.

This commit is contained in:
Nicoleta Panaghiu 2022-12-13 16:10:07 +02:00
parent 7c90cdce0d
commit 6341dc2d22

View File

@ -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));