mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4097] Revert changes in Add comment button (#4332)
This commit is contained in:
committed by
Eugenio Romano
parent
e34f80aff7
commit
4072b0a8f6
@@ -68,7 +68,7 @@ export class FileViewComponent implements OnInit {
|
||||
this.nodeApiService.getNode(id).subscribe(
|
||||
(node) => {
|
||||
if (node && node.isFile) {
|
||||
this.isCommentDisabled = !this.contentServices.hasPermissions(node, PermissionsEnum.CONSUMER);
|
||||
this.isCommentDisabled = this.contentServices.hasPermissions(node, PermissionsEnum.CONSUMER);
|
||||
this.nodeId = id;
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user