mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-09-14 11:06:15 +05:00
fix: ensure proper parsing of CPU value for progress component in monitoring dashboard
This commit is contained in:
parent
e627c9af99
commit
c34fdf7a46
@ -221,7 +221,10 @@ export const ContainerFreeMonitoring = ({
|
||||
Used: {currentData.cpu.value}
|
||||
</span>
|
||||
<Progress
|
||||
value={parseInt(currentData.cpu.value.replace("%", ""), 10)}
|
||||
value={Number.parseInt(
|
||||
currentData.cpu.value.replace("%", ""),
|
||||
10,
|
||||
)}
|
||||
className="w-[100%]"
|
||||
/>
|
||||
<DockerCpuChart acummulativeData={acummulativeData.cpu} />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user