fixed "Hidden images reappear after reanalysis"
This commit is contained in:
parent
5e7db53713
commit
ccb50dceac
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user