[ACA] Shared files- version manager for single node action (#396)

* single action node

* check shared file allowable operation
This commit is contained in:
Cilibiu Bogdan
2018-06-12 09:31:03 +03:00
committed by Denys Vuika
parent be891b18a8
commit 8d58d00c08

View File

@@ -81,8 +81,8 @@
<button
mat-menu-item
*ngIf="permission.check(selectedNodes, ['update'], { target: 'allowableOperationsOnTarget' })"
[acaNodeVersions]="lastSelectedNode">
*ngIf="selectedNodes.length === 1 && permission.check(selectedNodes, ['update'], { target: 'allowableOperationsOnTarget' })"
[acaNodeVersions]="selectedNodes">
<mat-icon>history</mat-icon>
<span>{{ 'APP.ACTIONS.VERSIONS' | translate }}</span>
</button>