mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-23 22:27:17 -04:00
Fixed improper passing of hi and forced flags when searching a subtitles manually. #2350
This commit is contained in:
parent
828ac34074
commit
e17865ad53
2 changed files with 5 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue