Don't display "NaN B" in tenant capacity (#1802)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net> Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -123,7 +123,7 @@ const TenantCapacity = ({
|
|||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{niceBytesInt(totalUsedSpace)}
|
{!isNaN(totalUsedSpace) ? niceBytesInt(totalUsedSpace) : "N/A"}
|
||||||
</span>
|
</span>
|
||||||
<div>
|
<div>
|
||||||
<PieChart width={110} height={110}>
|
<PieChart width={110} height={110}>
|
||||||
|
|||||||
Reference in New Issue
Block a user