UI: make JobHistory Details an anchor to avoid flaky click in Playwright

This commit is contained in:
2026-05-16 15:03:47 +02:00
parent e7cbb56328
commit 6c92a6d95a
+1 -6
View File
@@ -92,12 +92,7 @@ export default function JobHistory({ ticker }: Props) {
</div>
<div className="flex items-center gap-2">
<a href={`/api/jobs/${j.id}`} target="_blank" rel="noreferrer" className="text-sm text-blue-600 hover:underline">API</a>
<button
onClick={() => navigate(`/jobs/${j.id}`)}
className="text-sm text-gray-700 underline"
>
Details
</button>
<a href={`/jobs/${j.id}`} className="text-sm text-gray-700 underline">Details</a>
{(j.state === 'waiting' || j.state === 'queued') && (
<button
onClick={() => cancel(j.id)}