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 ab5ab8c6b..ae6c78618 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 @@ -86,11 +86,7 @@ - +
; - @Input({ required: true }) displayedAnnotations: Map; readonly viewedPages$ = inject(ViewedPagesMapService).get$(this.#state.fileId); ngAfterViewInit() { @@ -50,8 +48,7 @@ export class PagesComponent implements AfterViewInit { } hasOnlyManualRedactionsAndIsExcluded(pageNumber: number): boolean { - const hasOnlyManualRedactions = this.displayedAnnotations.get(pageNumber)?.every(annotation => annotation.manual); - return hasOnlyManualRedactions && this.#state.file().excludedPages.includes(pageNumber); + return this.#state.file().excludedPages.includes(pageNumber); } getViewedPage(viewedPages: ViewedPage[], pageNumber: number) {