Compare commits

...

3 Commits

Author SHA1 Message Date
hamster1963
a104039cb3 Merge branch 'main' into cloudflare 2024-12-01 21:53:09 +08:00
hamster1963
9e7ecc4fa4 update: v1.6.2-fix 2024-12-01 21:52:55 +08:00
hamster1963
e74e881a65 fix(detail): load toFixed 2024-12-01 21:52:39 +08:00
2 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "1.6.2",
"version": "1.6.2-fix",
"private": true,
"scripts": {
"dev": "next dev -p 3040",