Fixed improper passing of hi and forced flags when searching a subtitles manually. #2350

pull/2367/head
JayZed 11 months ago committed by GitHub
parent 828ac34074
commit e17865ad53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -34,7 +34,7 @@ const WantedMoviesView: FunctionComponent = () => {
accessor: "missing_subtitles", accessor: "missing_subtitles",
Cell: ({ row, value }) => { Cell: ({ row, value }) => {
const wanted = row.original; const wanted = row.original;
const { hearing_impaired: hi, radarrId } = wanted; const { radarrId } = wanted;
const { download } = useMovieSubtitleModification(); const { download } = useMovieSubtitleModification();
@ -55,8 +55,8 @@ const WantedMoviesView: FunctionComponent = () => {
radarrId, radarrId,
form: { form: {
language: item.code2, language: item.code2,
hi, hi: item.hi,
forced: false, forced: item.forced,
}, },
} }
); );

@ -48,7 +48,6 @@ const WantedSeriesView: FunctionComponent = () => {
accessor: "missing_subtitles", accessor: "missing_subtitles",
Cell: ({ row, value }) => { Cell: ({ row, value }) => {
const wanted = row.original; const wanted = row.original;
const hi = wanted.hearing_impaired;
const seriesId = wanted.sonarrSeriesId; const seriesId = wanted.sonarrSeriesId;
const episodeId = wanted.sonarrEpisodeId; const episodeId = wanted.sonarrEpisodeId;
@ -72,8 +71,8 @@ const WantedSeriesView: FunctionComponent = () => {
episodeId, episodeId,
form: { form: {
language: item.code2, language: item.code2,
hi, hi: item.hi,
forced: false, forced: item.forced,
}, },
} }
); );

Loading…
Cancel
Save