mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-05 21:47:48 +01:00
Fix: add maximumFractionDigits to Glances memory (#2065)
This commit is contained in:
committed by
GitHub
parent
6483b10eba
commit
024b912467
@@ -65,7 +65,7 @@ export default function Component({ service }) {
|
||||
<div className="text-xs opacity-50">
|
||||
{t("common.bytes", {
|
||||
value: data.free,
|
||||
maximumFractionDigits: 0,
|
||||
maximumFractionDigits: 1,
|
||||
binary: true,
|
||||
})} {t("resources.free")}
|
||||
</div>
|
||||
@@ -75,7 +75,7 @@ export default function Component({ service }) {
|
||||
<div className="text-xs opacity-50">
|
||||
{t("common.bytes", {
|
||||
value: data.total,
|
||||
maximumFractionDigits: 0,
|
||||
maximumFractionDigits: 1,
|
||||
binary: true,
|
||||
})} {t("resources.total")}
|
||||
</div>
|
||||
@@ -89,7 +89,7 @@ export default function Component({ service }) {
|
||||
<div className="text-xs opacity-50">
|
||||
{t("common.bytes", {
|
||||
value: data.free,
|
||||
maximumFractionDigits: 0,
|
||||
maximumFractionDigits: 1,
|
||||
binary: true,
|
||||
})} {t("resources.free")}
|
||||
</div>
|
||||
@@ -101,7 +101,7 @@ export default function Component({ service }) {
|
||||
<div className="text-xs font-bold opacity-75">
|
||||
{t("common.bytes", {
|
||||
value: data.used,
|
||||
maximumFractionDigits: 0,
|
||||
maximumFractionDigits: 1,
|
||||
binary: true,
|
||||
})} {t("resources.used")}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user