RED-5265: use permissions directive shorthand
This commit is contained in:
parent
12a3c419ab
commit
e9abd954a9
@ -69,15 +69,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ng-container *allow="roles.dossiers.write">
|
||||
<iqser-icon-button
|
||||
(action)="newDossier()"
|
||||
*ngIf="dossierTemplate.isEmpty"
|
||||
[iqserHelpMode]="'new_dossier_button'"
|
||||
[label]="'dashboard.empty-template.new-dossier' | translate"
|
||||
[type]="iconButtonTypes.primary"
|
||||
icon="iqser:plus"
|
||||
></iqser-icon-button>
|
||||
</ng-container>
|
||||
<iqser-icon-button
|
||||
(action)="newDossier()"
|
||||
*allow="roles.dossiers.write; if: dossierTemplate.isEmpty"
|
||||
[iqserHelpMode]="'new_dossier_button'"
|
||||
[label]="'dashboard.empty-template.new-dossier' | translate"
|
||||
[type]="iconButtonTypes.primary"
|
||||
icon="iqser:plus"
|
||||
></iqser-icon-button>
|
||||
</ng-template>
|
||||
</a>
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 53b8442167c9223ab00967fbca18ac45af63f64b
|
||||
Subproject commit 8b07e0d31bee258d903b8d8580afcd83dc1544c8
|
||||
Loading…
x
Reference in New Issue
Block a user