Fix the UI broken after removed a monitor

pull/2460/head^2
Louis Lam 1 year ago
parent 056d957c1e
commit 06852bbf0d

@ -590,7 +590,7 @@ export default {
for (let monitorID in this.lastHeartbeatList) {
let lastHeartBeat = this.lastHeartbeatList[monitorID];
if (this.monitorList[monitorID].maintenance) {
if (this.monitorList[monitorID] && this.monitorList[monitorID].maintenance) {
result[monitorID] = {
text: this.$t("statusMaintenance"),
color: "maintenance",

Loading…
Cancel
Save