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))) + ) : ( + + )} +