Fix: Fix typo

This commit is contained in:
Nelson Chan 2022-01-07 12:34:01 +08:00
parent 1e92487f30
commit 2e0e35a1ee

View file

@ -568,7 +568,7 @@ exports.entryPage = "dashboard";
}
// Reset Prometheus labels
if (monitorList[monitor.id] && monitorList[monitor.id].prometheus) {
if (monitorList[monitor.id] && monitorList[monitor.id].prometheus()) {
monitorList[monitor.id].prometheus().remove();
}