(open = false)} > {t('shell.scopeAllList')} {#if all.length > 0}{all.length}{/if}
{t('shell.scopeRecent')}
{#if $projectsQuery.isPending}

{t('common.loading')}…

{:else if $projectsQuery.isError}

{t('shell.scopeLoadFailed')}

{:else if recent.length === 0} (open = false)}> {t('shell.scopeEmpty')} {:else} {#each recent as project (project.id)} (open = false)} > {project.title} {#if project.stats} {t('shell.scopeStage', { n: project.stats.stage_confirmed })} {/if} {/each} {/if}