feat: show re-run button on completed locales, not just errors
Previously the re-run button only appeared on ERROR status locales. Now it also shows on COMPLETED locales so users can reprocess them after pipeline fixes without creating a new job. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
437b9bd793
commit
b2a70a3867
1 changed files with 2 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ export function LocaleInstanceCard({
|
|||
</Button>
|
||||
</>
|
||||
)}
|
||||
{li.status === "ERROR" && (
|
||||
{(li.status === "ERROR" || li.status === "COMPLETED") && (
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
|
|
@ -135,7 +135,7 @@ export function LocaleInstanceCard({
|
|||
title="Re-run"
|
||||
onClick={handleRerun}
|
||||
>
|
||||
<RefreshCw className="h-4 w-4 text-amazon-error" />
|
||||
<RefreshCw className={`h-4 w-4 ${li.status === "ERROR" ? "text-amazon-error" : "text-gray-400 hover:text-amazon-teal"}`} />
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue