mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 14:05:59 -03:30
Removed leftover commented code and cleaned up a variable name
This commit is contained in:
@@ -5,9 +5,9 @@ export default [function(){
|
|||||||
// params.matchingId
|
// params.matchingId
|
||||||
// params.byNodeId
|
// params.byNodeId
|
||||||
|
|
||||||
let thisNodeId = params.byNodeId ? params.element.nodeId : params.element.id;
|
let prospectiveId = params.byNodeId ? params.element.nodeId : params.element.id;
|
||||||
|
|
||||||
if(thisNodeId === params.matchingId){
|
if(prospectiveId === params.matchingId){
|
||||||
return params.element;
|
return params.element;
|
||||||
}else if (params.element.children && params.element.children.length > 0){
|
}else if (params.element.children && params.element.children.length > 0){
|
||||||
let result = null;
|
let result = null;
|
||||||
@@ -209,8 +209,7 @@ export default [function(){
|
|||||||
originalEdge: params.edgeType,
|
originalEdge: params.edgeType,
|
||||||
originalNodeObj: _.clone(params.nodesObj[params.nodeId]),
|
originalNodeObj: _.clone(params.nodesObj[params.nodeId]),
|
||||||
promptValues: {},
|
promptValues: {},
|
||||||
isRoot: params.isRoot ? params.isRoot : false,
|
isRoot: params.isRoot ? params.isRoot : false
|
||||||
//jobStatus: 'failed' successful waiting running pending
|
|
||||||
};
|
};
|
||||||
|
|
||||||
params.treeData.data.totalNodes++;
|
params.treeData.data.totalNodes++;
|
||||||
|
|||||||
Reference in New Issue
Block a user