From 56199264a606f7f58c5363ac723f76be6eaa03e7 Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Thu, 9 Dec 2021 17:07:00 +0200 Subject: [PATCH] fix RED-3000 --- .../components/file-workload/file-workload.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(), ); }