[ADF-4097] Fix add comment section

This commit is contained in:
davidcanonieto
2019-02-18 09:37:39 +00:00
parent f3e6bde092
commit 84403a3f3f

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