Removed unnecessary loop - #3096

This commit is contained in:
tatiana.llorente@artica.es 2018-11-19 16:07:45 +01:00
parent c499a21cc2
commit 8e72f53aff
1 changed files with 4 additions and 3 deletions

View File

@ -159,9 +159,10 @@
if (custom_graph) { if (custom_graph) {
dataObject = retrieveDataOject(dataObjects,0); dataObject = retrieveDataOject(dataObjects,0);
dataObjects.forEach(function (element) { //dataObjects.forEach(function (element) {
elements.push(processDataObject(element)); //elements.push(processDataObject(element));
}); //});
elements.push(processDataObject(dataObject));
graphData = elements; graphData = elements;
} }
else { else {