Fix: add maximumFractionDigits to Glances free fs (#2048)

This commit is contained in:
Juan Manuel Bennàssar Carretero 2023-09-22 09:41:45 +02:00 committed by GitHub
parent 6b8c02cf2a
commit 770dabdf1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ export default function Component({ service }) {
<div className="text-xs opacity-75"> <div className="text-xs opacity-75">
{t("common.bbytes", { {t("common.bbytes", {
value: fsData.free, value: fsData.free,
maximumFractionDigits: 0, maximumFractionDigits: 1,
})} {t("resources.free")} })} {t("resources.free")}
</div> </div>
</Block> </Block>