mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-03 13:18:53 -05:00
fix(ui): correct seasons badge order (#1485)
This PR corrects the order of the seasons displayed on the request card, because it was not always ordered.
This commit is contained in:
@@ -217,7 +217,7 @@ const TvRequestModal = ({
|
|||||||
mediaType: 'tv',
|
mediaType: 'tv',
|
||||||
is4k,
|
is4k,
|
||||||
seasons: settings.currentSettings.partialRequestsEnabled
|
seasons: settings.currentSettings.partialRequestsEnabled
|
||||||
? selectedSeasons
|
? selectedSeasons.sort((a, b) => a - b)
|
||||||
: getAllSeasons().filter(
|
: getAllSeasons().filter(
|
||||||
(season) => !getAllRequestedSeasons().includes(season)
|
(season) => !getAllRequestedSeasons().includes(season)
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user