Your requests
What you've asked Minstrel to add to the library.
{#if query.isError}
{:else if query.isPending}
Reading the ledger…
{:else if requests.length === 0}
Nothing requested yet.
{:else}
{#each requests as r (r.id)} {@const Icon = fallbackIcon(r.kind)} {@const href = listenHref(r)}
{r.kind}
{rowTitle(r)}
{rowMeta(r)}
{#if r.status === 'rejected' && r.notes}
{r.notes}
{/if}
{#if r.status === 'pending'}
onCancel(r.id)} >
Cancel
{:else if r.status === 'completed' && href}
Listen
{/if}
{/each}
{/if}