From e17865ad535da06caddb25cfff30961cecae20f1 Mon Sep 17 00:00:00 2001 From: JayZed Date: Tue, 23 Jan 2024 19:57:27 -0500 Subject: [PATCH] Fixed improper passing of hi and forced flags when searching a subtitles manually. #2350 --- frontend/src/pages/Wanted/Movies/index.tsx | 6 +++--- frontend/src/pages/Wanted/Series/index.tsx | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/Wanted/Movies/index.tsx b/frontend/src/pages/Wanted/Movies/index.tsx index 102a41139..663a2fa57 100644 --- a/frontend/src/pages/Wanted/Movies/index.tsx +++ b/frontend/src/pages/Wanted/Movies/index.tsx @@ -34,7 +34,7 @@ const WantedMoviesView: FunctionComponent = () => { accessor: "missing_subtitles", Cell: ({ row, value }) => { const wanted = row.original; - const { hearing_impaired: hi, radarrId } = wanted; + const { radarrId } = wanted; const { download } = useMovieSubtitleModification(); @@ -55,8 +55,8 @@ const WantedMoviesView: FunctionComponent = () => { radarrId, form: { language: item.code2, - hi, - forced: false, + hi: item.hi, + forced: item.forced, }, } ); diff --git a/frontend/src/pages/Wanted/Series/index.tsx b/frontend/src/pages/Wanted/Series/index.tsx index 5496a8530..863f17dfd 100644 --- a/frontend/src/pages/Wanted/Series/index.tsx +++ b/frontend/src/pages/Wanted/Series/index.tsx @@ -48,7 +48,6 @@ const WantedSeriesView: FunctionComponent = () => { accessor: "missing_subtitles", Cell: ({ row, value }) => { const wanted = row.original; - const hi = wanted.hearing_impaired; const seriesId = wanted.sonarrSeriesId; const episodeId = wanted.sonarrEpisodeId; @@ -72,8 +71,8 @@ const WantedSeriesView: FunctionComponent = () => { episodeId, form: { language: item.code2, - hi, - forced: false, + hi: item.hi, + forced: item.forced, }, } );