diff --git a/apps/dokploy/components/dashboard/monitoring/servers/disk-chart.tsx b/apps/dokploy/components/dashboard/monitoring/servers/disk-chart.tsx index db9c70924..3a81526cc 100644 --- a/apps/dokploy/components/dashboard/monitoring/servers/disk-chart.tsx +++ b/apps/dokploy/components/dashboard/monitoring/servers/disk-chart.tsx @@ -28,8 +28,7 @@ export function DiskChart({ data }: RadialChartProps) { const chartData = [ { - name: "Used", - value: diskUsed, + disk: 25, fill: "hsl(var(--chart-2))", }, ]; @@ -41,6 +40,8 @@ export function DiskChart({ data }: RadialChartProps) { }, } satisfies ChartConfig; + const endAngle = (diskUsed * 360) / 100; + return ( @@ -54,8 +55,8 @@ export function DiskChart({ data }: RadialChartProps) { > @@ -67,7 +68,7 @@ export function DiskChart({ data }: RadialChartProps) { polarRadius={[86, 74]} />