summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2018-01-30 23:38:00 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2018-01-30 23:38:00 +0200
commit75712919061b8b0f5b930cbbb284b30f6378cbea (patch)
tree7da008752e069bd5bae34565aafae8d428d9a9ad /web
parent59b68d5108bdbbaedf637f0ac1796ad9e5e69bc0 (diff)
set the last index, not just zero
Diffstat (limited to 'web')
-rw-r--r--web/dashboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/dashboard.js b/web/dashboard.js
index 2d44f988d6..4bfd86e9c3 100644
--- a/web/dashboard.js
+++ b/web/dashboard.js
@@ -7303,7 +7303,7 @@ var NETDATA = window.NETDATA || {};
color: '#666666'
});
- state.tmp.d3pie_last_slot = 0;
+ state.tmp.d3pie_last_slot = index;
return content;
};