Skip to content

Commit

Permalink
fix/ commit id url
Browse files Browse the repository at this point in the history
  • Loading branch information
psiddharthdesign committed Jul 30, 2024
1 parent 1b8970e commit f32035b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const ProjectRunDetails: React.FC<{
<div className="space-y-2">
<DetailItem label="Triggered at" value={new Date(run.created_at).toLocaleString()} />
<DetailItem label="Project" value={run.project_name || 'N/A'} />
<DetailItem label="Commit" value={run.commit_id.substring(0, 8)} link={`https://github.com/${fullRepoName}/${run.project_name}/commit/${run.commit_id}`} />
<DetailItem label="Commit" value={run.commit_id.substring(0, 8)} link={`https://github.com/${fullRepoName}/commit/${run.commit_id}`} />
<DetailItem label="Trigger type" value={run.triggertype} />
<DetailItem label="Status" value={
<Badge className={`${statusColors[ToSnakeCase(run.status)]} pointer-events-none`}>
Expand Down

0 comments on commit f32035b

Please sign in to comment.