diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotations-list/annotations-list.component.ts b/apps/red-ui/src/app/modules/file-preview/components/annotations-list/annotations-list.component.ts index a6827d447..7535542c1 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotations-list/annotations-list.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/annotations-list/annotations-list.component.ts @@ -1,4 +1,4 @@ -import { ChangeDetectorRef, Component, computed, ElementRef, EventEmitter, Input, Output } from '@angular/core'; +import { Component, computed, ElementRef, EventEmitter, Input, Output } from '@angular/core'; import { getConfig, HasScrollbarDirective } from '@iqser/common-ui'; import { FilterService } from '@iqser/common-ui/lib/filtering'; import { IqserEventTarget } from '@iqser/common-ui/lib/utils'; @@ -36,7 +36,6 @@ export class AnnotationsListComponent extends HasScrollbarDirective { constructor( protected readonly _elementRef: ElementRef, - protected readonly _changeDetector: ChangeDetectorRef, private readonly _multiSelectService: MultiSelectService, private readonly _filterService: FilterService, private readonly _userPreferenceService: UserPreferenceService, @@ -45,7 +44,7 @@ export class AnnotationsListComponent extends HasScrollbarDirective { private readonly _listingService: AnnotationsListingService, readonly annotationReferencesService: AnnotationReferencesService, ) { - super(_elementRef, _changeDetector); + super(_elementRef); } annotationClicked(annotation: AnnotationWrapper, $event: MouseEvent): void {