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

This commit is contained in:
JayZed 2024-01-23 19:57:27 -05:00 committed by GitHub
parent 828ac34074
commit e17865ad53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View File

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

View File

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