From ccb50dceac0a395bc566b5d0d5532776654435e5 Mon Sep 17 00:00:00 2001 From: Valentin Date: Wed, 13 Oct 2021 15:04:53 +0300 Subject: [PATCH] fixed "Hidden images reappear after reanalysis" --- .../app/modules/dossier/services/annotation-actions.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/dossier/services/annotation-actions.service.ts b/apps/red-ui/src/app/modules/dossier/services/annotation-actions.service.ts index 78d8a1e01..52978a165 100644 --- a/apps/red-ui/src/app/modules/dossier/services/annotation-actions.service.ts +++ b/apps/red-ui/src/app/modules/dossier/services/annotation-actions.service.ts @@ -283,7 +283,7 @@ export class AnnotationActionsService { } updateHiddenAnnotation(annotations: AnnotationWrapper[], viewerAnnotations: Annotation[], hidden: boolean) { - const annotationId = (viewerAnnotations[0] as any).Tw; + const annotationId = (viewerAnnotations[0] as any).Dx; const annotationToBeUpdated = annotations.find((a: AnnotationWrapper) => a.annotationId === annotationId); annotationToBeUpdated.hidden = hidden; }