A complete maintenance planning system has been created

This commit is contained in:
Karel Krýda 2022-01-23 15:22:00 +01:00
parent c3c4db52ec
commit 0d3414c6d6
32 changed files with 1121 additions and 51 deletions

View file

@ -15,6 +15,10 @@ export default {
computed: {
uptime() {
if (this.type === "maintenance") {
return this.$t("Maintenance");
}
let key = this.monitor.id + "_" + this.type;
@ -26,6 +30,10 @@ export default {
},
color() {
if (this.type === "maintenance" || this.monitor.maintenance) {
return "maintenance"
}
if (this.lastHeartBeat.status === 0) {
return "danger"
}