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 1c53f1b14..e1a7a033b 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, OnChanges, Output } from '@angular/core'; +import { ChangeDetectorRef, Component, computed, ElementRef, EventEmitter, Input, Output } from '@angular/core'; import { HasScrollbarDirective } from '@iqser/common-ui'; import { FilterService } from '@iqser/common-ui/lib/filtering'; import { IqserEventTarget } from '@iqser/common-ui/lib/utils'; @@ -17,15 +17,15 @@ import { ViewModeService } from '../../services/view-mode.service'; templateUrl: './annotations-list.component.html', styleUrls: ['./annotations-list.component.scss'], }) -export class AnnotationsListComponent extends HasScrollbarDirective implements OnChanges { +export class AnnotationsListComponent extends HasScrollbarDirective { + @Input({ required: true }) annotations: ListItem[]; + @Output() readonly pagesPanelActive = new EventEmitter(); readonly #earmarkGroups = computed(() => { if (this._viewModeService.isEarmarks()) { return this.#getEarmarksGroups(); } return [] as EarmarkGroup[]; }); - @Input({ required: true }) annotations: ListItem[]; - @Output() readonly pagesPanelActive = new EventEmitter(); constructor( protected readonly _elementRef: ElementRef, diff --git a/libs/common-ui b/libs/common-ui index 890cf417a..1b7680891 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit 890cf417a1900eb882c61d335276360a48c9a54c +Subproject commit 1b76808917fcb3ff2ab6fe377599bb1583515499