0
This commit is contained in:
Gabe Kangas 2022-04-04 14:16:00 -07:00
parent 9f235bcaa5
commit 4ba6822b33

View File

@ -75,7 +75,7 @@ export default function HardwareInfo() {
<Col>
<StatisticItem
title={series[0].name}
value={`${currentCPUUsage || 0}`}
value={`${Math.round(currentCPUUsage) || 0}`}
prefix={<LaptopOutlined style={{ color: series[0].color }} />}
color={series[0].color}
progress
@ -85,7 +85,7 @@ export default function HardwareInfo() {
<Col>
<StatisticItem
title={series[1].name}
value={`${currentRamUsage || 0}`}
value={`${Math.round(currentRamUsage) || 0}`}
prefix={<BulbOutlined style={{ color: series[1].color }} />}
color={series[1].color}
progress
@ -95,7 +95,7 @@ export default function HardwareInfo() {
<Col>
<StatisticItem
title={series[2].name}
value={`${currentDiskUsage || 0}`}
value={`${Math.round(currentDiskUsage) || 0}`}
prefix={<SaveOutlined style={{ color: series[2].color }} />}
color={series[2].color}
progress