Skip to content

Commit

Permalink
minor fix on commit url
Browse files Browse the repository at this point in the history
  • Loading branch information
psiddharthdesign committed Jul 29, 2024
1 parent 2d6f98e commit fb7ae04
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}/commit/${run.commit_id}`} />
<DetailItem label="Commit" value={run.commit_id.substring(0, 8)} link={`https://github.com/${fullRepoName}/${run.project_name}/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 fb7ae04

Please sign in to comment.