mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7100] migrate ADF projects to eslint (#7483)
* migrate content services to eslint * migrate insights to eslint * migrate extensions to eslint * migrate testing lib to eslint * migrate CLI to eslint * migrate process-services to eslint * migrate process-services-cloud to eslint * remove cli analytics [ci:force]
This commit is contained in:
@@ -224,7 +224,7 @@ export class NodePermissionService {
|
||||
'filterQueries': [
|
||||
{
|
||||
'query':
|
||||
"TYPE:'st:site'"
|
||||
`TYPE:'st:site'`
|
||||
}
|
||||
]
|
||||
};
|
||||
@@ -307,8 +307,9 @@ export class NodePermissionService {
|
||||
);
|
||||
}
|
||||
|
||||
transformNodeToUserPerson(node: Node): { person: EcmUserModel, group: Group } {
|
||||
let person = null, group = null;
|
||||
transformNodeToUserPerson(node: Node): { person: EcmUserModel; group: Group } {
|
||||
let person = null;
|
||||
let group = null;
|
||||
if (node.nodeType === 'cm:person') {
|
||||
const firstName = node.properties['cm:firstName'];
|
||||
const lastName = node.properties['cm:lastName'];
|
||||
|
Reference in New Issue
Block a user