{getActiveProject($session).name}
{#if isDefault}
{:else}
($session.activeProjectId = "default")}>
{/if}
{#each $session.projects as { name, id } (id)}
{name} {#if id !== "default"}
{ e.stopPropagation(); session.updateProject(id, { name: (await prompt("Project name", name)) || name }); }} >
{ e.stopPropagation(); session.deleteProject(id); }} >
{/if}
{/each}