mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Fix: glances metric - different key for process list memory on windows host (#4410)
This commit is contained in:
parent
22c02f4e45
commit
5bc67137f6
@ -63,7 +63,7 @@ export default function Component({ service }) {
|
|||||||
<div className="opacity-25 w-14 text-right">{item.cpu_percent.toFixed(1)}%</div>
|
<div className="opacity-25 w-14 text-right">{item.cpu_percent.toFixed(1)}%</div>
|
||||||
<div className="opacity-25 w-14 text-right">
|
<div className="opacity-25 w-14 text-right">
|
||||||
{t("common.bytes", {
|
{t("common.bytes", {
|
||||||
value: item.memory_info[memoryInfoKey],
|
value: item.memory_info[memoryInfoKey] ?? item.memory_info.wset,
|
||||||
maximumFractionDigits: 0,
|
maximumFractionDigits: 0,
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user