diff --git a/src/components/admin/round/ranking-dashboard.tsx b/src/components/admin/round/ranking-dashboard.tsx index ef1ec29..b619307 100644 --- a/src/components/admin/round/ranking-dashboard.tsx +++ b/src/components/admin/round/ranking-dashboard.tsx @@ -217,14 +217,18 @@ function SortableProjectRow({ {/* Advance decision indicator */}
0 - ? 'bg-emerald-100 text-emerald-700' - : 'bg-gray-100 text-gray-500', + totalJurors === 0 + ? 'bg-gray-100 text-gray-500' + : yesCount === totalJurors + ? 'bg-emerald-100 text-emerald-700' + : yesCount > 0 + ? 'bg-amber-100 text-amber-700' + : 'bg-red-100 text-red-600', )}> - {yesCount > 0 ? ( + {totalJurors > 0 ? ( <>{yesCount}/{totalJurors} Yes ) : ( - <>{totalJurors} juror{totalJurors !== 1 ? 's' : ''} + <>0 jurors )}