From 4072b0a8f6a85cd16d7e7a76d23b4e6867364ec4 Mon Sep 17 00:00:00 2001 From: davidcanonieto Date: Tue, 19 Feb 2019 11:59:43 +0000 Subject: [PATCH] [ADF-4097] Revert changes in Add comment button (#4332) --- demo-shell/src/app/components/file-view/file-view.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo-shell/src/app/components/file-view/file-view.component.ts b/demo-shell/src/app/components/file-view/file-view.component.ts index a477306019..86ad27b4c2 100644 --- a/demo-shell/src/app/components/file-view/file-view.component.ts +++ b/demo-shell/src/app/components/file-view/file-view.component.ts @@ -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; }