)}
@@ -51,12 +51,12 @@ export default function Disk({ options, expanded }) {
- {t("common.bytes", { value: data.drive.freeGb * 1024 * 1024 * 1024 })}
+ {t("common.bytes", { value: data.drive.freeGb * 1024 * 1024 * 1024 })}
{t("resources.free")}
{expanded && (
- {t("common.bytes", { value: data.drive.totalGb * 1024 * 1024 * 1024 })}
+ {t("common.bytes", { value: data.drive.totalGb * 1024 * 1024 * 1024 })}
{t("resources.total")}
)}
diff --git a/src/components/widgets/resources/memory.jsx b/src/components/widgets/resources/memory.jsx
index 068177df..27351998 100644
--- a/src/components/widgets/resources/memory.jsx
+++ b/src/components/widgets/resources/memory.jsx
@@ -29,12 +29,12 @@ export default function Memory({ expanded }) {
- -
+ -
{t("resources.free")}
{expanded && (
- -
+ -
{t("resources.total")}
)}
@@ -51,14 +51,14 @@ export default function Memory({ expanded }) {
-
+
{t("common.bytes", { value: data.memory.freeMemMb * 1024 * 1024, maximumFractionDigits: 1, binary: true })}
{t("resources.free")}
{expanded && (
-
+
{t("common.bytes", {
value: data.memory.totalMemMb * 1024 * 1024,
maximumFractionDigits: 1,