mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-10 22:17:59 +08:00
add ping and fix uptime
This commit is contained in:
@@ -18,7 +18,7 @@ export default {
|
||||
|
||||
let key = this.monitor.id + "_" + this.type;
|
||||
|
||||
if (this.$root.uptimeList[key]) {
|
||||
if (this.$root.uptimeList[key] !== undefined) {
|
||||
return Math.round(this.$root.uptimeList[key] * 10000) / 100 + "%";
|
||||
} else {
|
||||
return "N/A"
|
||||
|
Reference in New Issue
Block a user