Skip to content

Commit f884ac9

Browse files
authored
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.
1 parent c2d9d00 commit f884ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/RequestModal/TvRequestModal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ const TvRequestModal = ({
217217
mediaType: 'tv',
218218
is4k,
219219
seasons: settings.currentSettings.partialRequestsEnabled
220-
? selectedSeasons
220+
? selectedSeasons.sort((a, b) => a - b)
221221
: getAllSeasons().filter(
222222
(season) => !getAllRequestedSeasons().includes(season)
223223
),

0 commit comments

Comments
 (0)