Fixed problems with export data in csv on graphs when have percentil active. Gitlab: #358

This commit is contained in:
m-lopez-f 2017-02-23 10:55:38 +01:00
parent 9bdfc386f3
commit 8050f063cb
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@
dataObjects.forEach(function (element) {
if (/^Avg.:/i.test(element.label))
result = element;
if (/^Percentil/i.test(element.label))
result = element;
});
// If the avg set is missing, retrieve the first set