Skip to content

Commit c34fdf7

Browse files
author
Mauricio Siu
committed
fix: ensure proper parsing of CPU value for progress component in monitoring dashboard
1 parent e627c9a commit c34fdf7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/dokploy/components/dashboard/monitoring/free/container/show-free-container-monitoring.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,10 @@ export const ContainerFreeMonitoring = ({
221221
Used: {currentData.cpu.value}
222222
</span>
223223
<Progress
224-
value={parseInt(currentData.cpu.value.replace("%", ""), 10)}
224+
value={Number.parseInt(
225+
currentData.cpu.value.replace("%", ""),
226+
10,
227+
)}
225228
className="w-[100%]"
226229
/>
227230
<DockerCpuChart acummulativeData={acummulativeData.cpu} />

0 commit comments

Comments
 (0)