DM-339: Reintroduced the 'Exclude pages' function.
This commit is contained in:
parent
426526125e
commit
4cca571527
@ -173,10 +173,7 @@ export class FileActionsComponent implements OnChanges {
|
|||||||
ariaExpanded: toObservable(this._excludedPagesService?.shown, { injector: this._injector }),
|
ariaExpanded: toObservable(this._excludedPagesService?.shown, { injector: this._injector }),
|
||||||
showDot: !!this.file.excludedPages?.length,
|
showDot: !!this.file.excludedPages?.length,
|
||||||
icon: 'red:exclude-pages',
|
icon: 'red:exclude-pages',
|
||||||
show:
|
show: !!this._excludedPagesService && this._permissionsService.canExcludePages(this.file, this.dossier),
|
||||||
!!this._excludedPagesService &&
|
|
||||||
this._permissionsService.canExcludePages(this.file, this.dossier) &&
|
|
||||||
!this._iqserPermissionsService.has(Roles.getRss),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'set-file-to-new-btn',
|
id: 'set-file-to-new-btn',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user