fix: Fixes #43 so CPU use not 100x higher than it should be (#44)

This commit is contained in:
Luke Schoen
2018-09-24 01:51:35 +10:00
committed by Maciej Hirsz
parent ca0ab38bd2
commit b16b9c5090
@@ -89,7 +89,7 @@ export default class Row extends React.Component<RowProps, {}> {
render: ({ nodeStats }) => {
const cpu = nodeStats[3];
return cpu ? `${(cpu * 100).toFixed(1)}%` : '-';
return cpu ? `${cpu.toFixed(1)}%` : '-';
}
},
{