mirror of
https://github.com/sct/overseerr.git
synced 2025-12-27 00:34:56 +01: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',
|
||||
is4k,
|
||||
seasons: settings.currentSettings.partialRequestsEnabled
|
||||
? selectedSeasons
|
||||
? selectedSeasons.sort((a, b) => a - b)
|
||||
: getAllSeasons().filter(
|
||||
(season) => !getAllRequestedSeasons().includes(season)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user