Skip to content

Commit

Permalink
fix: remove deplicate episodes from selection
Browse files Browse the repository at this point in the history
  • Loading branch information
davidemarcoli committed Dec 6, 2024
1 parent efba13e commit cae6d45
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/routes/[type=mediaType]/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -267,14 +267,6 @@
.padStart(2, '0')}
{episode.title}
</Select.Item>
{#each season.episodes as episode}
<Select.Item value={episode}>
S{season.number.toString().padStart(2, '0')}E{episode.number
.toString()
.padStart(2, '0')}
{episode.title}
</Select.Item>
{/each}
{/each}
</Select.Group>
<Select.Separator />
Expand Down

0 comments on commit cae6d45

Please sign in to comment.