FOLDERS
{#if isCreating}
×
{:else}
+
{/if}
{#if isCreating}
{/if}
onSelectFolder?.(null)} >
All
{favorites.length}
{#each folders as folder (folder.id)}
onSelectFolder?.(folder.id)} >
{folder.icon || ''}
{folder.name}
{getFolderCount(folder.id)}
{/each} {#if unfiledCount > 0 && folders.length > 0}
onSelectFolder?.(-1)} >
Unfiled
{unfiledCount}
{/if}