{#if isDefault} {#snippet trigger(tooltip)} {/snippet} Save as project {:else} {#snippet trigger(tooltip)} {/snippet} Close project {/if}
{#each projects.all as { name, id } (id)} {@const option = select.getOption(id)} {@const hasCheckpoints = checkpoints.for(id).length > 0}
{name} {#if hasCheckpoints}
{/if}
{#if id !== "default"}
{/if}
{/each}
(sdState.open = false)} onSubmit={saveDialog}> {#snippet footer()} {/snippet}