From 4cca5715275a14ec89244952f2ebb012f6de30bf Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Fri, 18 Aug 2023 14:23:09 +0300 Subject: [PATCH] DM-339: Reintroduced the 'Exclude pages' function. --- .../components/file-actions/file-actions.component.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/red-ui/src/app/modules/shared-dossiers/components/file-actions/file-actions.component.ts b/apps/red-ui/src/app/modules/shared-dossiers/components/file-actions/file-actions.component.ts index 0fce4c428..9ceb1f20e 100644 --- a/apps/red-ui/src/app/modules/shared-dossiers/components/file-actions/file-actions.component.ts +++ b/apps/red-ui/src/app/modules/shared-dossiers/components/file-actions/file-actions.component.ts @@ -173,10 +173,7 @@ export class FileActionsComponent implements OnChanges { ariaExpanded: toObservable(this._excludedPagesService?.shown, { injector: this._injector }), showDot: !!this.file.excludedPages?.length, icon: 'red:exclude-pages', - show: - !!this._excludedPagesService && - this._permissionsService.canExcludePages(this.file, this.dossier) && - !this._iqserPermissionsService.has(Roles.getRss), + show: !!this._excludedPagesService && this._permissionsService.canExcludePages(this.file, this.dossier), }, { id: 'set-file-to-new-btn',