{#if loading} Checking for updates… {:else if error} Update check failed {:else if updaterRunning} Library update in progress{#if updaterProgressLabel} ({updaterProgressLabel}){/if} {:else} Up to date {/if}
{#if !loading && lastUpdatedLabel} Last updated: {lastUpdatedLabel}
{/if} {#if !loading && totalCount > 0} {totalCount} unread {/if}
{#if loading && groups.length === 0} {:else if error}

Couldn't load updates

{error}

{:else if groups.length === 0}

No recent library updates

Run a library update to populate this page.

{:else if filteredGroups.length === 0}

No results for "{updatesSearch}"

{:else}
{#each filteredGroups as { label, items } (label)}
{label}
{#each items as item (item.id)}
{:else} {/if} {#if openingId === item.id} {:else} {/if}
{/each}
{/each}
{/if}