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

This commit is contained in:
Luke Schoen authored and Maciej Hirsz committed 2018-09-23 17:51:35 +02:00
1 parent ca0ab38bd2
commit b16b9c5090
1 file changed
+1 -1
@@ -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)}%` : '-';
}
},
{