Make the workflow title a link in the workflow run page (#1415)

This commit is contained in:
Shuchang Zheng
2024-12-19 10:38:44 -08:00
committed by GitHub
parent a625fe74f5
commit 7dacb1e713

View File

@@ -86,7 +86,14 @@ function WorkflowRun() {
const title = workflowIsLoading ? (
<Skeleton className="h-9 w-48" />
) : (
<h1 className="text-3xl">{workflow?.title}</h1>
<h1 className="text-3xl">
<Link
className="hover:underline hover:underline-offset-2"
to={`/workflows/${workflowPermanentId}/runs`}
>
{workflow?.title}
</Link>
</h1>
);
const workflowFailureReason = workflowRun?.failure_reason ? (