From 36245f8f578f5e48b05761002695e2230ea7263a Mon Sep 17 00:00:00 2001 From: Sergei Ogorelkov Date: Wed, 17 May 2023 18:51:53 +0400 Subject: [PATCH] [UBER-151] Fix adding sub-issues in the "New template" dialog (#3206) Signed-off-by: Sergei Ogorelkov --- .../templates/CreateIssueTemplate.svelte | 1 + .../templates/IssueTemplateChildEditor.svelte | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/plugins/tracker-resources/src/components/templates/CreateIssueTemplate.svelte b/plugins/tracker-resources/src/components/templates/CreateIssueTemplate.svelte index e4bdc2e526..1db64df067 100644 --- a/plugins/tracker-resources/src/components/templates/CreateIssueTemplate.svelte +++ b/plugins/tracker-resources/src/components/templates/CreateIssueTemplate.svelte @@ -158,6 +158,7 @@ milestone={object.milestone} project={_space} maxHeight="limited" + on:create-issue={({ detail }) => (object.children = [...object.children, detail])} /> -
-
+
+
(newIssue.assignee = detail)} /> {/key} @@ -172,7 +173,7 @@ }} />
-
+
+ +