{#if loading} {#each { length: 3 } as _}
{/each} {:else}
{#if filteredAlbums.length > 0} {#if !shared && search.length === 0}

RECENT

{#each recentAlbums as album (album.id)} handleSelect(album)} /> {/each} {/if} {#if !shared}

{#if search.length === 0}ALL {/if}ALBUMS

{/if} {#each filteredAlbums as album (album.id)} handleSelect(album)} /> {/each} {:else if albums.length > 0}

It looks like you do not have any albums with this name yet.

{:else}

It looks like you do not have any albums yet.

{/if}
{/if}