{repo.payloads["xyz.radicle.project"]?.data.name} New issue
{#if preview}
{#if title.trim().length === 0} No title. {:else} {title} {/if}
{:else} commentBox?.triggerSubmit()} bind:value={title} /> {/if} { try { const response = await createIssue( comment, Array.from(embeds.values()), ); if (onCreated) { onCreated(response); } else { await router.push({ resource: "repo.issue", rid: repo.rid, issue: response.id, status: "open", }); } forceHide(); } catch { console.error("Not able to create issue."); } }} rid={repo.rid} bind:preview bind:body borderVariant="ghost" placeholder="Description"> {#snippet leadingActions()} {#await configPromise then config} {#if !!roles.isDelegate( config.publicKey, repo.delegates.map(d => d.did) )}
{ labels = newLabels; }} /> { assignees = newAssignees; }} />
{/if} {/await} {/snippet}