{#if session} {@const session_ = session}
issueTitle.length > 0} enableAttachments submitCaption="Submit" placeholder="Write a description" on:submit={async ({ detail: { comment, embeds } }) => { await createIssue(session_.id, issueTitle, comment, embeds); }} on:close={() => { void router.push({ resource: "project.issues", project: project.id, node: baseUrl, }); }} />
{:else} {/if}