mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
fix graph needs destroying first
This commit is contained in:
parent
4b5b9250f1
commit
2791e03338
@ -11446,7 +11446,7 @@
|
||||
|
||||
function deviceDetailsStatsClear() {
|
||||
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; }
|
||||
deviceDetailsStatsData = [];
|
||||
deviceDetailsStatsDraw();
|
||||
|
Loading…
Reference in New Issue
Block a user