Fix units
This commit is contained in:
parent
2fdd8df9f9
commit
8caed1e797
@ -22,17 +22,15 @@ export default function Pool({ name, free, allocated, healthy }) {
|
||||
</div>
|
||||
<div className="self-center text-xs flex justify-end mr-1.5 pl-1 z-10 text-ellipsis overflow-hidden whitespace-nowrap">
|
||||
<span>
|
||||
{t("common.bytes", {
|
||||
{`${t("common.bytes", {
|
||||
value: allocated,
|
||||
maximumFractionDigits: 1,
|
||||
binary: true,
|
||||
})}{" "}
|
||||
/{" "}
|
||||
{t("common.bytes", {
|
||||
})} / ${t("common.bytes", {
|
||||
value: free + allocated,
|
||||
maximumFractionDigits: 1,
|
||||
binary: true,
|
||||
})}
|
||||
})}`}
|
||||
</span>
|
||||
<span className="pl-2">({usedPercent}%)</span>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user