Add label and assignee inputs to the create issue view

This commit is contained in:
Rūdolfs Ošiņš
2024-12-06 11:48:18 +01:00
parent ece9ee1eb0
commit 2abb7f16cd
3 changed files with 69 additions and 12 deletions
+3 -2
View File
@@ -152,9 +152,10 @@
<Icon name="cross" onclick={() => removeAssignee(assignee)} />
{/if}
</button>
{:else}
<div class="txt-missing">Not assigned to anyone.</div>
{/each}
{#if updatedAssignees.length === 0 && !showInput}
<div class="txt-missing">Not assigned to anyone.</div>
{/if}
{:else}
{#each updatedAssignees as assignee}
<NodeId {...authorForNodeId(assignee)} />
+3 -2
View File
@@ -139,9 +139,10 @@
<Icon name="cross" onclick={() => removeLabel(label)} />
{/if}
</button>
{:else}
<div class="txt-missing">No labels.</div>
{/each}
{#if updatedLabels.length === 0 && !showInput}
<div class="txt-missing">No labels.</div>
{/if}
{:else}
{#each updatedLabels as label}
<Label {label} />