Merge branch '3096-Error-exportar-a-CSV-en-Graph-Container' into 'develop'

Removed unnecessary loop - #3096

See merge request artica/pandorafms!1992

Former-commit-id: 0708e60e64cd10bc27e3841f718fa64d8513b97c
This commit is contained in:
vgilc 2018-12-21 10:23:09 +01:00
commit 411c815f19
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 {