mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-09 13:39:42 -05:00
fix graph needs destroying first
This commit is contained in:
@@ -11446,7 +11446,7 @@
|
|||||||
|
|
||||||
function deviceDetailsStatsClear() {
|
function deviceDetailsStatsClear() {
|
||||||
QV('p17graph', false);
|
QV('p17graph', false);
|
||||||
if (window.deviceDetailsStatsChart != null) { delete window.deviceDetailsStatsChart; }
|
if (window.deviceDetailsStatsChart != null) { window.deviceDetailsStatsChart.destroy(); delete window.deviceDetailsStatsChart; }
|
||||||
if (deviceDetailsStatsTimer != null) { clearInterval(deviceDetailsStatsTimer); deviceDetailsStatsTimer = null; }
|
if (deviceDetailsStatsTimer != null) { clearInterval(deviceDetailsStatsTimer); deviceDetailsStatsTimer = null; }
|
||||||
deviceDetailsStatsData = [];
|
deviceDetailsStatsData = [];
|
||||||
deviceDetailsStatsDraw();
|
deviceDetailsStatsDraw();
|
||||||
|
|||||||
Reference in New Issue
Block a user