mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix(detail): load toFixed
This commit is contained in:
parent
42b60e6c5b
commit
e74e881a65
@ -206,8 +206,9 @@ export default function ServerDetailClient({
|
||||
<p className="text-xs text-muted-foreground">{t("Load")}</p>
|
||||
{data.status.NetInTransfer ? (
|
||||
<div className="text-xs">
|
||||
{data.status.Load1} / {data.status.Load5} /{" "}
|
||||
{data.status.Load15}
|
||||
{data.status.Load1.toFixed(2)} /{" "}
|
||||
{data.status.Load5.toFixed(2)} /{" "}
|
||||
{data.status.Load15.toFixed(2)}
|
||||
</div>
|
||||
) : (
|
||||
<div className="text-xs">Unknown</div>
|
||||
|
Loading…
Reference in New Issue
Block a user