Skip to content

Commit

Permalink
chore: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
sans-harness committed Jan 24, 2025
1 parent 9f6df25 commit 854ffcc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/components/more-actions-tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const MoreActionsTooltip: FC<MoreActionsTooltipProps> = ({ actions, isInT
<DropdownMenu.Group>
{actions.map((action, idx) =>
action.to ? (
<Link key={`${action.title}-${idx}`} to={action.to} replace>
<Link key={`${action.title}-${idx}`} to={action.to}>
<DropdownMenu.Item>
<span className={cn('truncate text-sm', { 'text-foreground-danger': action.isDanger })}>
{action.title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,34 +83,34 @@ const PullRequestCheckSection = ({ checkData, checksInfo, toPRCheck }: PullReque
}) + `?uid=${check?.check?.identifier}`
}
></Link> */}
{check?.check?.status !== ExecutionState.PENDING && (
<Link
to={
toPRCheck?.({
pipelineId: check?.check?.identifier || '',
executionId: (
check?.check?.payload?.data as ExecutionPayloadType
).execution_number?.toString()
}) || ''
}
replace
>
<Text size={1} color="tertiaryBackground">
Details
</Text>
</Link>
)}
</div>
<div className="col-span-1 flex justify-end">
{check?.check?.status === ExecutionState.PENDING ? (
<Badge variant="outline" size="sm">
<Text size={1} color="tertiaryBackground">
Required
</Text>
</Badge>
) : (
<div className="min-w-[70px]"></div>
)}
{check?.check?.status !== ExecutionState.PENDING && (
<Link
to={
toPRCheck?.({
pipelineId: check?.check?.identifier || '',
executionId: (
check?.check?.payload?.data as ExecutionPayloadType
).execution_number?.toString()
}) || ''
}
>
<Text size={1} color="tertiaryBackground">
Details
</Text>
</Link>
)}
</div>
<div className="col-span-1 flex justify-end">
{check?.check?.status === ExecutionState.PENDING ? (
<Badge variant="outline" size="sm">
<Text size={1} color="tertiaryBackground">
Required
</Text>
</Badge>
) : (
<div className="min-w-[70px]"></div>
)}
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 854ffcc

Please sign in to comment.