diff --git a/.gitignore b/.gitignore index b2a2c70..7c9a2e2 100644 --- a/.gitignore +++ b/.gitignore @@ -15,7 +15,7 @@ node_modules # Testing coverage - +.idea # Turbo .turbo diff --git a/apps/web/src/app/(dashboard)/dashboard/dashboard-chart.tsx b/apps/web/src/app/(dashboard)/dashboard/dashboard-chart.tsx index bea16f8..abf08c5 100644 --- a/apps/web/src/app/(dashboard)/dashboard/dashboard-chart.tsx +++ b/apps/web/src/app/(dashboard)/dashboard/dashboard-chart.tsx @@ -239,7 +239,7 @@ const DashboardItemCard: React.FC = ({ {count} {status !== "total" ? ( -
{(percentage * 100).toFixed(0)}%
+
{count > 0 ? (percentage * 100).toFixed(0) : 0}%
) : null}