mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Update Seasons.tsx
This commit is contained in:
parent
459223a030
commit
118ba05ee6
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export function Seasons(props: SeasonsProps) {
|
||||||
|
|
||||||
const mapSeason = (season: MWMediaSeason) => ({
|
const mapSeason = (season: MWMediaSeason) => ({
|
||||||
id: season.id,
|
id: season.id,
|
||||||
name: season.title || `${t('seasons.season')} ${season.sort}`,
|
name: season.title || `${t('seasons.season', { season: season.sort })}`,
|
||||||
});
|
});
|
||||||
|
|
||||||
const options = seasons.seasons.map(mapSeason);
|
const options = seasons.seasons.map(mapSeason);
|
||||||
|
|
Loading…
Reference in a new issue