fix(ui): correct seasons badge order (#1648)

This PR corrects the order of the seasons displayed on the request card, because it was not always
ordered if the pending request was edited with random clicks.
This commit is contained in:
Gauthier
2025-05-09 13:14:50 +02:00
committed by GitHub
parent 6b9aedb970
commit 123894b475

View File

@@ -120,7 +120,7 @@ const TvRequestModal = ({
languageProfileId: requestOverrides?.language,
userId: requestOverrides?.user?.id,
tags: requestOverrides?.tags,
seasons: selectedSeasons,
seasons: selectedSeasons.sort((a, b) => a - b),
});
if (alsoApproveRequest) {