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