DM-339: Reintroduced the 'Exclude pages' function.

This commit is contained in:
Nicoleta Panaghiu 2023-08-18 14:23:09 +03:00
parent 426526125e
commit 4cca571527

View File

@ -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',