Skip to content

Commit

Permalink
[WEB-2613] chore: open parent and sibling issue in new tab from peek-…
Browse files Browse the repository at this point in the history
…overview/ issue detail page. (#5819)
  • Loading branch information
prateekshourya29 authored Oct 15, 2024
1 parent 3d7d3c8 commit 8d0611b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/core/components/issues/issue-detail/parent/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const IssueParentDetail: FC<TIssueParentDetail> = observer((props) => {
return (
<>
<div className="mb-5 flex w-min items-center gap-3 whitespace-nowrap rounded-md border border-custom-border-300 bg-custom-background-80 px-2.5 py-1 text-xs">
<Link href={`/${workspaceSlug}/projects/${parentIssue?.project_id}/issues/${parentIssue.id}`}>
<Link href={`/${workspaceSlug}/projects/${parentIssue?.project_id}/issues/${parentIssue.id}`} target="_blank">
<div className="flex items-center gap-2">
<div className="flex items-center gap-2.5">
<span className="block h-2 w-2 rounded-full" style={{ backgroundColor: stateColor }} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const IssueParentSiblingItem: FC<TIssueParentSiblingItem> = observer((pro
<CustomMenu.MenuItem key={issueDetail.id}>
<Link
href={`/${workspaceSlug}/projects/${issueDetail?.project_id as string}/issues/${issueDetail.id}`}
target="_blank"
className="flex items-center gap-2 py-0.5"
>
{issueDetail.project_id && projectDetails?.identifier && (
Expand Down

0 comments on commit 8d0611b

Please sign in to comment.