mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-21 05:55:45 +08:00
Resolve lint errors
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user