summaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authorJayZed <[email protected]>2024-01-23 19:57:27 -0500
committerGitHub <[email protected]>2024-01-23 19:57:27 -0500
commite17865ad535da06caddb25cfff30961cecae20f1 (patch)
treece05c8df503d3922b276a4669225b9a64894ffa0 /frontend
parent828ac34074c35778ac47ce7df78c362def60de77 (diff)
downloadbazarr-e17865ad535da06caddb25cfff30961cecae20f1.tar.gz
bazarr-e17865ad535da06caddb25cfff30961cecae20f1.zip
Fixed improper passing of hi and forced flags when searching a subtitles manually. #2350
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/pages/Wanted/Movies/index.tsx6
-rw-r--r--frontend/src/pages/Wanted/Series/index.tsx5
2 files changed, 5 insertions, 6 deletions
diff --git a/frontend/src/pages/Wanted/Movies/index.tsx b/frontend/src/pages/Wanted/Movies/index.tsx
index 102a41139..663a2fa57 100644
--- a/frontend/src/pages/Wanted/Movies/index.tsx
+++ b/frontend/src/pages/Wanted/Movies/index.tsx
@@ -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,
},
}
);
diff --git a/frontend/src/pages/Wanted/Series/index.tsx b/frontend/src/pages/Wanted/Series/index.tsx
index 5496a8530..863f17dfd 100644
--- a/frontend/src/pages/Wanted/Series/index.tsx
+++ b/frontend/src/pages/Wanted/Series/index.tsx
@@ -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,
},
}
);