Skip to content

Commit

Permalink
Fixed improper passing of hi and forced flags when searching a subtit…
Browse files Browse the repository at this point in the history
…les manually. #2350
  • Loading branch information
JaiZed authored Jan 24, 2024
1 parent 828ac34 commit e17865a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions frontend/src/pages/Wanted/Movies/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -55,8 +55,8 @@ const WantedMoviesView: FunctionComponent = () => {
radarrId,
form: {
language: item.code2,
hi,
forced: false,
hi: item.hi,
forced: item.forced,
},
}
);
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/pages/Wanted/Series/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -72,8 +71,8 @@ const WantedSeriesView: FunctionComponent = () => {
episodeId,
form: {
language: item.code2,
hi,
forced: false,
hi: item.hi,
forced: item.forced,
},
}
);
Expand Down

0 comments on commit e17865a

Please sign in to comment.