diff --git a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/file-workload/file-workload.component.ts b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/file-workload/file-workload.component.ts index 5964fa174..999da819d 100644 --- a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/file-workload/file-workload.component.ts +++ b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/file-workload/file-workload.component.ts @@ -107,7 +107,11 @@ export class FileWorkloadComponent { private get _showExcludedPages$() { return this.excludedPagesService.shown$.pipe( - tap(() => this._disableMultiSelectAndDocumentInfo()), + tap(show => { + if (show) { + this._disableMultiSelectAndDocumentInfo(); + } + }), shareLast(), ); }