[ADF-2661] disabling comments when user doesn't have permissions (#4031)

This commit is contained in:
Vito
2018-11-29 13:49:15 +00:00
committed by Eugenio Romano
parent f128bfbdc5
commit 5bea17fa6c
2 changed files with 7 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
<adf-info-drawer [title]="'APP.INFO_DRAWER.TITLE' | translate">
<adf-info-drawer-tab [label]="'APP.INFO_DRAWER.COMMENTS' | translate">
<adf-comments [nodeId]="nodeId"></adf-comments>
<adf-comments [nodeId]="nodeId" [readOnly]="isCommentEnabled"></adf-comments>
</adf-info-drawer-tab>
<adf-info-drawer-tab [label]="'APP.INFO_DRAWER.PROPERTIES' | translate">