{#snippet sidebar()} {/snippet} {#snippet secondColumn()} { await loadIssues(filter); }} /> {/snippet}
{#if preview}
{#if title.trim().length === 0} No title {:else} {/if}
{:else}
{/if} {#if !!roles.isDelegate( config.publicKey, repo.delegates.map(delegate => delegate.did), )}
{/if} window.history.back()} submit={async ({ comment, embeds }) => { try { const response = await createIssue( comment, Array.from(embeds.values()), ); void router.push({ resource: "repo.issue", rid: repo.rid, issue: response.id, status, }); } catch { console.error("Not able to create issue."); } }} rid={repo.rid} bind:preview borderVariant="ghost" placeholder="Description" />