fix: ensure proper parsing of CPU value for progress component in monitoring dashboard

This commit is contained in:
Mauricio Siu
2025-12-02 20:22:27 -06:00
parent e627c9af99
commit c34fdf7a46
@@ -221,7 +221,10 @@ export const ContainerFreeMonitoring = ({
Used: {currentData.cpu.value} Used: {currentData.cpu.value}
</span> </span>
<Progress <Progress
value={parseInt(currentData.cpu.value.replace("%", ""), 10)} value={Number.parseInt(
currentData.cpu.value.replace("%", ""),
10,
)}
className="w-[100%]" className="w-[100%]"
/> />
<DockerCpuChart acummulativeData={acummulativeData.cpu} /> <DockerCpuChart acummulativeData={acummulativeData.cpu} />