mirror of https://github.com/morpheus65535/bazarr
Fixed improper passing of hi and forced flags when searching a subtitles manually. #2350
This commit is contained in:
parent
828ac34074
commit
e17865ad53
|
@ -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…
Reference in New Issue