mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: fix status error
This commit is contained in:
parent
5dbf12b983
commit
269a1523ff
@ -22,7 +22,7 @@ export default function ServerListClient() {
|
||||
name={server.name}
|
||||
up={server.status.NetOutSpeed / 1024 / 1024}
|
||||
down={server.status.NetInSpeed / 1024 / 1024}
|
||||
status={server.status.Uptime !== 0 ? "online" : "offline"}
|
||||
status={server.status.Uptime > 0 ? "online" : "offline"}
|
||||
uptime={server.status.Uptime / 86400}
|
||||
mem={(server.status.MemUsed / server.host.MemTotal) * 100}
|
||||
stg={server.status.DiskUsed / server.host.DiskTotal}
|
||||
|
Loading…
Reference in New Issue
Block a user