|
|
@ -212,7 +212,9 @@ global.pipelines=[]; |
|
|
|
var resob = {} |
|
|
|
resob.pathlogfile = pathfileval |
|
|
|
resob.data = resdata.data[0].res25swarmlabname |
|
|
|
var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data[0].res25swarmlabname); |
|
|
|
resob.user = resdata.data[0].res25user |
|
|
|
//var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data[0].res25swarmlabname);
|
|
|
|
var indexfind = global.pipelines.findIndex(x => x.pathlogfile==pathfileval); |
|
|
|
|
|
|
|
//indexfind === -1 ? global.pipelines.push({resob}) : console.log("object already exists")
|
|
|
|
indexfind === -1 ? global.pipelines.push(resob) : console.log("object already exists") |
|
|
|