From 92becbc6172452e6cd40054f4da1ab0b3b0a9d54 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Wed, 21 Feb 2024 16:47:39 +0530 Subject: [PATCH] improvement: remove `add sub-issues` button from the bottom if sub-issues are available. (#3725) --- web/components/issues/sub-issues/root.tsx | 32 ----------------------- 1 file changed, 32 deletions(-) diff --git a/web/components/issues/sub-issues/root.tsx b/web/components/issues/sub-issues/root.tsx index 2b93384e2..b93626386 100644 --- a/web/components/issues/sub-issues/root.tsx +++ b/web/components/issues/sub-issues/root.tsx @@ -341,38 +341,6 @@ export const SubIssuesRoot: FC = observer((props) => { /> )} - -
- - - Add sub-issue -
- } - buttonClassName="whitespace-nowrap" - placement="bottom-end" - noBorder - noChevron - > - { - setTrackElement("Issue detail add sub-issue"); - handleIssueCrudState("create", parentIssueId, null); - }} - > - Create new - - { - setTrackElement("Issue detail add sub-issue"); - handleIssueCrudState("existing", parentIssueId, null); - }} - > - Add an existing issue - - - ) : ( !disabled && (