From 571c74d55866c8cb67da6e414ec165dce8d81b0d Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 16 Aug 2017 10:16:04 +0200 Subject: [PATCH] fixed error export csv custom graph --- .../include/graphs/flot/jquery.flot.exportdata.pandora.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js b/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js index e8bb747901..20a2aa844f 100644 --- a/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js +++ b/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js @@ -34,9 +34,9 @@ } if (dataObjects.length > 1) { dataObjects.forEach(function (element) { - if (/^Avg.:/i.test(element.label)) + if (/Avg.:/i.test(element.label)) result = element; - if (/^Percentil/i.test(element.label)) + if (/Percentil/i.test(element.label)) result = element; });