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",
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,
},
}
);

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

Loading…
Cancel
Save