[ADF-4097] Revert changes in Add comment button (#4332)

This commit is contained in:
davidcanonieto 2019-02-19 11:59:43 +00:00 committed by Eugenio Romano
parent e34f80aff7
commit 4072b0a8f6

View File

@ -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;
}