From cae82289fc016803fd6250ee02605e5c83fbfd4c Mon Sep 17 00:00:00 2001 From: sumona-banerjeee Date: Thu, 19 Feb 2026 12:18:37 +0530 Subject: [PATCH] Fixed analysis type error --- components/dashboard/recent-analyses-table.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/dashboard/recent-analyses-table.tsx b/components/dashboard/recent-analyses-table.tsx index 28a9dd0..00b6417 100644 --- a/components/dashboard/recent-analyses-table.tsx +++ b/components/dashboard/recent-analyses-table.tsx @@ -90,10 +90,10 @@ export function RecentAnalysesTable({ videos, isLoading, onViewResults }: Recent

{video.detection_type === "pothole-detection" - ? video.unique_potholes ?? 0 + ? video.unique_pothole ?? 0 : video.detection_type === "pot-sign-detection" - ? (video.unique_potholes ?? 0) + (video.unique_signboards ?? 0) - : video.unique_signboards ?? 0} + ? (video.unique_pothole ?? 0) + (video.unique_defected_sign_board ?? 0) + (video.unique_good_sign_board ?? 0) + : (video.unique_defected_sign_board ?? 0) + (video.unique_good_sign_board ?? 0)}

Detections

@@ -116,4 +116,4 @@ export function RecentAnalysesTable({ videos, isLoading, onViewResults }: Recent ) -} +} \ No newline at end of file