[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2026-01-09 05:18:09 +00:00 committed by GitHub
parent c6a06dacc1
commit 046d9c1afb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 8 deletions

View File

@ -44,7 +44,10 @@ export default {
healthCheckStatus() { healthCheckStatus() {
const healthCheckMonitorId = this.healthCheckMonitor?.id; const healthCheckMonitorId = this.healthCheckMonitor?.id;
if (healthCheckMonitorId in this.$root.lastHeartbeatList && this.$root.lastHeartbeatList[healthCheckMonitorId]) { if (
healthCheckMonitorId in this.$root.lastHeartbeatList &&
this.$root.lastHeartbeatList[healthCheckMonitorId]
) {
return this.$root.lastHeartbeatList[healthCheckMonitorId].status === UP; return this.$root.lastHeartbeatList[healthCheckMonitorId].status === UP;
} }

View File

@ -66,11 +66,7 @@
<option :value="null"> <option :value="null">
{{ $t("Select") }} {{ $t("Select") }}
</option> </option>
<option <option v-for="(monitor, index) in $root.monitorList" :key="index" :value="monitor.id">
v-for="(monitor, index) in $root.monitorList"
:key="index"
:value="monitor.id"
>
{{ monitor.name }} {{ monitor.name }}
</option> </option>
</select> </select>
@ -293,7 +289,7 @@ export default {
this.toastErrorTimeoutSecs = parsedTimeout > 0 ? parsedTimeout / 1000 : parsedTimeout; this.toastErrorTimeoutSecs = parsedTimeout > 0 ? parsedTimeout / 1000 : parsedTimeout;
} }
} }
} },
}, },
}; };
</script> </script>