Commit 78fbaa2e authored by Thomas Lamprecht's avatar Thomas Lamprecht Committed by Dietmar Maurer

format cpu load value better

Signed-off-by: 's avatarThomas Lamprecht <t.lamprecht@proxmox.com>
parent bd597eba
......@@ -84,13 +84,13 @@ Ext.define('PVE.NodeSummary', {
if (!values.uptime) {
return '-';
}
return PVE.Utils.format_size(values.mem)
return PVE.Utils.format_size(values.mem);
},
cpuinfo: function(values) {
if (!values.uptime) {
return '-';
}
return (values.cpu*100).toFixed(1);
return (values.cpu*100).toFixed(1) + '%';
}
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment