This commit is contained in:
LukeGus
2025-10-03 00:01:36 -05:00
parent a7fa40393d
commit 694ea87523
26 changed files with 877 additions and 186 deletions

View File

@@ -434,10 +434,9 @@ export function Server({
<div className="text-xs text-gray-500">
{(() => {
const used = metrics?.disk?.usedHuman;
const total = metrics?.disk?.totalHuman;
return used && total
? `Available: ${total}`
const available = metrics?.disk?.availableHuman;
return available
? `Available: ${available}`
: "Available: N/A";
})()}
</div>