From 53e9725243d36a74773dcc0a64ff7af149628e00 Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Fri, 1 Nov 2024 14:39:35 +0200 Subject: [PATCH] RED-9944 - fix build --- .../annotation-actions/annotation-actions.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.ts b/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.ts index e6e913e2c..5392cc4ad 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.ts @@ -147,13 +147,13 @@ export class AnnotationActionsComponent implements OnChanges { hideAnnotation() { this._annotationManager.hide(this.viewerAnnotations); this._annotationManager.deselect(); - viewerAnnotations.forEach(a => this._annotationManager.addToHidden(a.Id)); + this.viewerAnnotations.forEach(a => this._annotationManager.addToHidden(a.Id)); } showAnnotation() { this._annotationManager.show(this.viewerAnnotations); this._annotationManager.deselect(); - viewerAnnotations.forEach(a => this._annotationManager.removeFromHidden(a.Id)); + this.viewerAnnotations.forEach(a => this._annotationManager.removeFromHidden(a.Id)); } resize() {