From efca7026546db4792db8f6d9754351d808e1d1c5 Mon Sep 17 00:00:00 2001 From: Sky Mulley Date: Fri, 9 Oct 2026 13:23:04 +0100 Subject: [PATCH] discard resource count double up --- .../components/admin/nodes/NodeAboutTab.tsx | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/resources/scripts/components/admin/nodes/NodeAboutTab.tsx b/resources/scripts/components/admin/nodes/NodeAboutTab.tsx index f998ebcc3..a1f3108f9 100644 --- a/resources/scripts/components/admin/nodes/NodeAboutTab.tsx +++ b/resources/scripts/components/admin/nodes/NodeAboutTab.tsx @@ -56,18 +56,13 @@ const UsageBox = ({ title, metric }: { title: string; metric: NodeUtilization['m return ( - {metric ? ( - <> -

- {bytesRatioToString(mbToBytes(megabytes(metric.value)), mbToBytes(megabytes(metric.max)))} -

-

- {metric.value} / {metric.max} MiB -

- - ) : ( - - )} +

+ {metric ? ( + bytesRatioToString(mbToBytes(megabytes(metric.value)), mbToBytes(megabytes(metric.max))) + ) : ( + + )} +