diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 50ecae9..a2d2f35 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -211,7 +211,8 @@ global.pipelines=[]; var resob = resdata.data var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data.res25swarmlabname); - indexfind === -1 ? global.pipelines.push({resob}) : console.log("object already exists") + //indexfind === -1 ? global.pipelines.push({resob}) : console.log("object already exists") + indexfind === -1 ? global.pipelines.push(resob) : console.log("object already exists") //console.log('info', JSON.stringify(resdata)); console.log('info------------- ', JSON.stringify(global.pipelines));