mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-12 00:10:52 -04:00
Resolve lint errors
This commit is contained in:
parent
7532acc95d
commit
f78d01d770
11 changed files with 105 additions and 80 deletions
|
@ -15,7 +15,7 @@ export default {
|
|||
|
||||
computed: {
|
||||
uptime() {
|
||||
|
||||
|
||||
if (this.type === "maintenance") {
|
||||
return this.$t("Maintenance");
|
||||
}
|
||||
|
@ -31,9 +31,9 @@ export default {
|
|||
|
||||
color() {
|
||||
if (this.type === "maintenance" || this.monitor.maintenance) {
|
||||
return "maintenance"
|
||||
return "maintenance";
|
||||
}
|
||||
|
||||
|
||||
if (this.lastHeartBeat.status === 0) {
|
||||
return "danger";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue