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