diff --git a/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.html b/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.html
index 32b509d90..47d3dc13b 100644
--- a/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.html
+++ b/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.html
@@ -32,11 +32,11 @@
-@if (displayedAnnotations$ | async; as annotations) {
+@if (filteredAnnotations$ | async; as annotations) {
@@ -112,7 +112,7 @@
>
@@ -200,7 +200,7 @@
}
@@ -224,7 +224,7 @@
-
+
diff --git a/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts b/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts
index 6ccf8e4c7..f65803d1d 100644
--- a/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts
+++ b/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts
@@ -9,6 +9,7 @@ import {
OnDestroy,
OnInit,
TemplateRef,
+ untracked,
viewChild,
} from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
@@ -89,23 +90,30 @@ const ALL_HOTKEY_ARRAY = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'];
],
})
export class FileWorkloadComponent extends AutoUnsubscribe implements OnInit, OnDestroy {
- private readonly _annotationsElement = viewChild('annotationsElement');
- private readonly _quickNavigationElement = viewChild('quickNavigation');
readonly multiSelectTemplate = viewChild>('multiSelect');
- readonly #isIqserDevMode = this._userPreferenceService.isIqserDevMode;
+ readonly annotationsList$: Observable[]>;
+ readonly allPages = computed(() => Array.from({ length: this.state.file()?.numberOfPages }, (_x, i) => i + 1));
protected readonly iconButtonTypes = IconButtonTypes;
protected readonly circleButtonTypes = CircleButtonTypes;
- protected readonly displayedAnnotations$: Observable