Merge pull request #1777 from benphelps/fix/issue-1774

Fix glances metrics widget memory units
pull/1783/head v0.6.28
shamoon 1 year ago committed by GitHub
commit 63a56225bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,6 +50,7 @@ export default function Component({ service }) {
formatter={(value) => t("common.bytes", {
value,
maximumFractionDigits: 0,
binary: true,
})}
/>
@ -60,6 +61,7 @@ export default function Component({ service }) {
{t("common.bytes", {
value: data.free,
maximumFractionDigits: 0,
binary: true,
})} {t("resources.free")}
</div>
)}
@ -69,6 +71,7 @@ export default function Component({ service }) {
{t("common.bytes", {
value: data.total,
maximumFractionDigits: 0,
binary: true,
})} {t("resources.total")}
</div>
)}
@ -80,6 +83,7 @@ export default function Component({ service }) {
{t("common.bytes", {
value: data.used,
maximumFractionDigits: 0,
binary: true,
})} {t("resources.used")}
</div>
</Block>

Loading…
Cancel
Save