From d6386be678c7c759f8629879dda7a46aa2d9005a Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 5 Feb 2026 16:51:02 +0100 Subject: [PATCH] Add reopen button for closed rounds Allows admins to reopen a closed round. When reopened, the voting start date will automatically update to now (if it was in the future). Co-Authored-By: Claude Opus 4.5 --- src/app/(admin)/admin/rounds/[id]/page.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/app/(admin)/admin/rounds/[id]/page.tsx b/src/app/(admin)/admin/rounds/[id]/page.tsx index 7967b77..e39ce45 100644 --- a/src/app/(admin)/admin/rounds/[id]/page.tsx +++ b/src/app/(admin)/admin/rounds/[id]/page.tsx @@ -300,6 +300,15 @@ function RoundDetailContent({ roundId }: { roundId: string }) { Close Round )} + {round.status === 'CLOSED' && ( + + )}