From ffc8b618c6e65b70a4c3a6141de796d5f2e05320 Mon Sep 17 00:00:00 2001 From: brikim Date: Tue, 20 Feb 2024 19:48:39 -0600 Subject: [PATCH] Disk sizes for the glances and resources widgets are reporting the incorrect disk sizes. The sizes are reported in bytes and need the binary: flag set to true so that the values are divided by 1024 and not 1000. The memory widgets were already doing this but the disk widgets missed this option. --- src/components/widgets/glances/glances.jsx | 4 ++-- src/components/widgets/resources/disk.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/widgets/glances/glances.jsx b/src/components/widgets/glances/glances.jsx index 0834b7756..8ff7ebb00 100644 --- a/src/components/widgets/glances/glances.jsx +++ b/src/components/widgets/glances/glances.jsx @@ -132,9 +132,9 @@ export default function Widget({ options }) {