From 5bc67137f6cb37ec7ed3d21da83d0bcdbcfbd03b Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 12 Dec 2024 20:53:20 -0800 Subject: [PATCH] Fix: glances metric - different key for process list memory on windows host (#4410) --- src/widgets/glances/metrics/process.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/glances/metrics/process.jsx b/src/widgets/glances/metrics/process.jsx index b997a5689..b20b4c634 100644 --- a/src/widgets/glances/metrics/process.jsx +++ b/src/widgets/glances/metrics/process.jsx @@ -63,7 +63,7 @@ export default function Component({ service }) {
{item.cpu_percent.toFixed(1)}%
{t("common.bytes", { - value: item.memory_info[memoryInfoKey], + value: item.memory_info[memoryInfoKey] ?? item.memory_info.wset, maximumFractionDigits: 0, })}