Skip to content

Commit

Permalink
[UBER-151] Fix adding sub-issues in the "New template" dialog (#3206)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Ogorelkov <sergei.ogorelkov@icloud.com>
  • Loading branch information
s0gorelkov committed May 17, 2023
1 parent 123828d commit 36245f8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
milestone={object.milestone}
project={_space}
maxHeight="limited"
on:create-issue={({ detail }) => (object.children = [...object.children, detail])}
/>
<svelte:fragment slot="pool">
<PriorityEditor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
{/key}
</div>
</div>
<div class="mt-4 flex-between">
<div class="buttons-group xsmall-gap">
<div class="mt-4 flex-between items-end">
<div class="inline-flex flex-wrap xsmall-gap">
<PriorityEditor
value={newIssue}
shouldShowLabel
Expand All @@ -145,6 +145,7 @@
value={newIssue}
size="small"
kind="no-border"
width="auto"
on:change={({ detail }) => (newIssue.assignee = detail)}
/>
{/key}
Expand Down Expand Up @@ -172,7 +173,7 @@
}}
/>
</div>
<div class="buttons-group small-gap">
<div class="ml-2 buttons-group small-gap">
<Button label={presentation.string.Cancel} size="small" kind="transparent" on:click={close} />
<Button
disabled={!canSave}
Expand All @@ -184,3 +185,13 @@
</div>
</div>
</div>

<style lang="scss">
.xsmall-gap {
gap: 0.375rem;
}
.items-end {
align-items: flex-end;
}
</style>

0 comments on commit 36245f8

Please sign in to comment.