Skip to content

Commit

Permalink
Remove custom metrics when new server selected
Browse files Browse the repository at this point in the history
  • Loading branch information
dhamith93 committed Sep 27, 2021
1 parent a613cb9 commit 4f2990a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/public/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ document.addEventListener('DOMContentLoaded', ()=> {
clearElement(customMetricsDiv);
customMetricCharts = [];
enabledCustomMetrics = [];
customMetricsLoaded = false;

serverId = agent;
checkBoxes.forEach(c => {
Expand Down

0 comments on commit 4f2990a

Please sign in to comment.