{#if media.length === 0}
No anime to display.
(animeLists = cleanCache(user, identity))} >Force refresh
{/if}
{#each media as anime}
{anime.title.english || anime.title.romaji || anime.title.native}
|
{#if title !== 'Upcoming Episodes'} {(anime.mediaListEntry || { progress: 0 }).progress}{@html totalEpisodes(anime)}
updateMedia( anime.id, anime.mediaListEntry?.progress, () => (animeLists = cleanCache(user, identity)) )}>+
{#if !title.includes('Completed')} [{anime.nextAiringEpisode?.episode === -1 ? '?' : (anime.nextAiringEpisode?.episode || 1) - 1}] {@html airingTime(anime)} {/if} {:else} {@html airingTime(anime, true)} {/if}
{/each}