mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-16 04:35:24 +02:00
fix: ensure proper parsing of CPU value for progress component in monitoring dashboard
This commit is contained in:
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user