From a0588be40585bb111be486e96bc1eb8365609cd3 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia Date: Wed, 13 Dec 2023 18:57:50 +0530 Subject: [PATCH] chore: remove parent option added in issue sidebar and peek overview --- .../issues/sidebar-select/parent.tsx | 43 ++++++++++++------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/web/components/issues/sidebar-select/parent.tsx b/web/components/issues/sidebar-select/parent.tsx index d7e03989d..e030e3d58 100644 --- a/web/components/issues/sidebar-select/parent.tsx +++ b/web/components/issues/sidebar-select/parent.tsx @@ -4,6 +4,8 @@ import { useRouter } from "next/router"; // components import { ParentIssuesListModal } from "components/issues"; +// icons +import { X } from "lucide-react"; // types import { IIssue, ISearchIssueResponse } from "types"; @@ -32,22 +34,33 @@ export const SidebarParentSelect: React.FC = ({ onChange, issueDetails, d issueId={issueId as string} projectId={projectId as string} /> - + {selectedParentIssue && issueDetails?.parent && ( + )} - + ); };