Update AppImage

This commit is contained in:
MacRimi
2025-10-15 00:03:56 +02:00
parent e4864d3871
commit 2ce87cdac0
2 changed files with 30 additions and 86 deletions

View File

@@ -72,9 +72,6 @@ interface ProxmoxStorageData {
}
const formatStorage = (sizeInGB: number): string => {
if (sizeInGB <= 0) {
return "0 GB"
}
if (sizeInGB < 1) {
// Less than 1 GB, show in MB
return `${(sizeInGB * 1024).toFixed(1)} MB`
@@ -358,9 +355,7 @@ export function StorageOverview() {
: 0
const usagePercent =
storageData.total > 0 && totalProxmoxUsed > 0
? ((totalProxmoxUsed / (storageData.total * 1024)) * 100).toFixed(2)
: "0.00"
storageData.total > 0 ? ((totalProxmoxUsed / (storageData.total * 1024)) * 100).toFixed(2) : "0.00"
return (
<div className="space-y-6">