mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-10 23:10:10 -05:00
Chore: Improve syntax
This commit is contained in:
parent
2e0e35a1ee
commit
1bbd744d02
@ -568,9 +568,7 @@ exports.entryPage = "dashboard";
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Reset Prometheus labels
|
// Reset Prometheus labels
|
||||||
if (monitorList[monitor.id] && monitorList[monitor.id].prometheus()) {
|
monitorList[monitor.id]?.prometheus()?.remove();
|
||||||
monitorList[monitor.id].prometheus().remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
bean.name = monitor.name;
|
bean.name = monitor.name;
|
||||||
bean.type = monitor.type;
|
bean.type = monitor.type;
|
||||||
|
Loading…
Reference in New Issue
Block a user