From c82406abcf00450fc6fd793954df8e89a7ae9082 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 5 Feb 2026 14:53:45 +0100 Subject: [PATCH] Hide All projects covered message while AI job is running The empty state message was incorrectly showing during AI processing. Now it only shows when job is complete and there are no suggestions. Co-Authored-By: Claude Opus 4.5 --- src/app/(admin)/admin/rounds/[id]/assignments/page.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/(admin)/admin/rounds/[id]/assignments/page.tsx b/src/app/(admin)/admin/rounds/[id]/assignments/page.tsx index 608d62f..0987ad9 100644 --- a/src/app/(admin)/admin/rounds/[id]/assignments/page.tsx +++ b/src/app/(admin)/admin/rounds/[id]/assignments/page.tsx @@ -627,7 +627,10 @@ function AssignmentManagementContent({ roundId }: { roundId: string }) { )} - {loadingSuggestions && !isAIJobRunning ? ( + {isAIJobRunning ? ( + // Don't show suggestions section while AI job is running - progress is shown above + null + ) : loadingSuggestions ? (