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:
Gauthier
2025-03-16 23:24:28 +01:00
committed by GitHub
parent c2d9d00b41
commit f884ac9c66

View File

@@ -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)
),