fix: align all memory / storage / quota units to Gi/Mi

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee committed 2025-02-28 22:57:54 +08:00
1 parent ff4a865c55
commit 8f76d5ad30
16 files changed
+51 -44

No files matched your search

@@ -75,13 +75,13 @@ export default {
allocatedUnits() {
const exponent = exponentNeeded(this.storageStats.total, 1024);
return `${ UNITS[exponent] }iB`;
return `${ UNITS[exponent] }i`;
},
usedUnits() {
const exponent = exponentNeeded(this.storageStats.maximum, 1024);
return `${ UNITS[exponent] }iB`;
return `${ UNITS[exponent] }i`;
},
formatUsed() {