mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
tslint arrow-parens rule (#4003)
This commit is contained in:
@@ -119,7 +119,7 @@ export class NodePermissionDirective implements OnChanges {
|
||||
*/
|
||||
hasPermission(nodes: MinimalNodeEntity[], permission: string): boolean {
|
||||
if (nodes && nodes.length > 0) {
|
||||
return nodes.every(node => this.contentService.hasPermission(node.entry, permission));
|
||||
return nodes.every((node) => this.contentService.hasPermission(node.entry, permission));
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user