[status page] create incident

This commit is contained in:
LouisLam
2021-09-16 22:48:28 +08:00
parent 8230cfe13f
commit 2955abb5d9
13 changed files with 273 additions and 60 deletions

View File

@@ -22,8 +22,19 @@ export default {
result[monitor.id] = monitor;
}
}
return result;
},
publicLastHeartbeatList() {
let result = {}
for (let monitorID in this.publicMonitorList) {
if (this.lastHeartbeatList[monitorID]) {
result[monitorID] = this.lastHeartbeatList[monitorID];
}
}
return result;
}
},
}
}