summaryrefslogtreecommitdiffstats
path: root/gui-pdp-monitoring/src/webapp/js/PdpStatisticsSummary.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui-pdp-monitoring/src/webapp/js/PdpStatisticsSummary.js')
-rw-r--r--gui-pdp-monitoring/src/webapp/js/PdpStatisticsSummary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui-pdp-monitoring/src/webapp/js/PdpStatisticsSummary.js b/gui-pdp-monitoring/src/webapp/js/PdpStatisticsSummary.js
index 4060c05..b8065bb 100644
--- a/gui-pdp-monitoring/src/webapp/js/PdpStatisticsSummary.js
+++ b/gui-pdp-monitoring/src/webapp/js/PdpStatisticsSummary.js
@@ -118,7 +118,7 @@ function getAvgPolicyDuration(data) {
var chartData = [];
var avgPolicyDurations = [];
for ( var d in data) {
- var avgPolicyDuration = JSON.parse(data[d].averagePolicyDuration);
+ var avgPolicyDuration = data[d].averagePolicyDuration;
avgPolicyDurations.push(avgPolicyDuration);
}