Artists

{#if !query.isPending && !query.isError}

{total} {total === 1 ? 'artist' : 'artists'}

{/if}
{#if query.isError} {:else if showSkeleton.value && artists.length === 0}

Loading…

{:else if !query.isPending && total === 0}

No artists yet — scan a library folder via the server's config.

{:else} a.sort_name || a.name} > {#snippet item(a: ArtistRef)} {/snippet} {#if query.hasNextPage} {:else if artists.length > 0}

End of library

{/if} {/if}