Removed unnecessary loop - #3096
This commit is contained in:
parent
c499a21cc2
commit
8e72f53aff
|
@ -159,9 +159,10 @@
|
|||
|
||||
if (custom_graph) {
|
||||
dataObject = retrieveDataOject(dataObjects,0);
|
||||
dataObjects.forEach(function (element) {
|
||||
elements.push(processDataObject(element));
|
||||
});
|
||||
//dataObjects.forEach(function (element) {
|
||||
//elements.push(processDataObject(element));
|
||||
//});
|
||||
elements.push(processDataObject(dataObject));
|
||||
graphData = elements;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue