Change: increase precision of used space in fs glances widget

pull/3882/head
shamoon 2 months ago committed by GitHub
parent ffd465a36a
commit 84db5ea13d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -58,7 +58,7 @@ export default function Component({ service }) {
<div className="text-xs opacity-50"> <div className="text-xs opacity-50">
{t(diskUnits, { {t(diskUnits, {
value: fsData.used, value: fsData.used,
maximumFractionDigits: 0, maximumFractionDigits: 1,
})}{" "} })}{" "}
{t("resources.used")} {t("resources.used")}
</div> </div>
@ -79,7 +79,7 @@ export default function Component({ service }) {
<div className="text-xs opacity-50"> <div className="text-xs opacity-50">
{t(diskUnits, { {t(diskUnits, {
value: fsData.used, value: fsData.used,
maximumFractionDigits: 0, maximumFractionDigits: 1,
})}{" "} })}{" "}
{t("resources.used")} {t("resources.used")}
</div> </div>

Loading…
Cancel
Save