From 2303b9eb31fe4bf371fd56c31d37aba8c550c7ac Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Mon, 29 Jun 2026 00:40:12 +0800 Subject: [PATCH] fix(wizard): always show remove button on existing screenshots The 'showExistingRemove' guard was totalScreenshots >= 2, meaning you could only delete existing screenshots when at maximum capacity. Changed to >= 1 so the trash icon appears on every existing screenshot during edit, regardless of the total count. --- apps/web/components/wizard/steps/review-step.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/components/wizard/steps/review-step.tsx b/apps/web/components/wizard/steps/review-step.tsx index 9c4a777..1bd1cf6 100644 --- a/apps/web/components/wizard/steps/review-step.tsx +++ b/apps/web/components/wizard/steps/review-step.tsx @@ -295,7 +295,8 @@ export function ReviewStep({ totalScreenshots < 2 && submitPhase !== "uploading" && submitPhase !== "saving" - const showExistingRemove = totalScreenshots >= 2 + const showExistingRemove = totalScreenshots >= 1 + // Allow removing any existing screenshot, not only when at capacity return (