mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
Fix the UI broken after removed a monitor
This commit is contained in:
parent
056d957c1e
commit
06852bbf0d
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ export default {
|
||||||
for (let monitorID in this.lastHeartbeatList) {
|
for (let monitorID in this.lastHeartbeatList) {
|
||||||
let lastHeartBeat = this.lastHeartbeatList[monitorID];
|
let lastHeartBeat = this.lastHeartbeatList[monitorID];
|
||||||
|
|
||||||
if (this.monitorList[monitorID].maintenance) {
|
if (this.monitorList[monitorID] && this.monitorList[monitorID].maintenance) {
|
||||||
result[monitorID] = {
|
result[monitorID] = {
|
||||||
text: this.$t("statusMaintenance"),
|
text: this.$t("statusMaintenance"),
|
||||||
color: "maintenance",
|
color: "maintenance",
|
||||||
|
|
Loading…
Reference in a new issue