auto-commit for b6946a78-11ff-4dc8-85b6-12e35b57d256

This commit is contained in:
emergent-agent-e1
2026-04-29 16:34:49 +00:00
parent da8a2903b4
commit 21cdd24116
3 changed files with 22 additions and 9 deletions
+5
View File
@@ -113,6 +113,11 @@ export default function TranscodeQueue() {
</span>
<span className="col-span-2 text-xs text-[#8A8A8A]">{new Date(j.created_at).toLocaleString()}</span>
<div className="col-span-1 flex justify-end gap-2">
{j.status === "running" && (
<button disabled className="text-[#444] cursor-not-allowed" title="Cannot cancel a running job" aria-label="Running">
<X size={14} strokeWidth={1.5} />
</button>
)}
{j.status === "pending" && (
<button onClick={() => cancel(j.id)} className="text-[#8A8A8A] hover:text-[#fca5a5]" data-testid={`cancel-${j.id}`} aria-label="Cancel">
<X size={14} strokeWidth={1.5} />