mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-09 16:27:45 +08:00
Fix subtitles display issue on episode page
This commit is contained in:
parent
e5fef50ff1
commit
e462686c17
1 changed files with 1 additions and 8 deletions
|
@ -112,14 +112,7 @@ const Table: FunctionComponent<Props> = ({ episodes, update }) => {
|
|||
></SubtitleAction>
|
||||
));
|
||||
|
||||
const existing = episode.subtitles.filter(
|
||||
(val) =>
|
||||
episode.missing_subtitles.findIndex(
|
||||
(v) => v.code2 === val.code2
|
||||
) === -1
|
||||
);
|
||||
|
||||
const subtitles = existing.map((val, idx) => (
|
||||
const subtitles = episode.subtitles.map((val, idx) => (
|
||||
<SubtitleAction
|
||||
key={BuildKey(idx, val.code2, "valid")}
|
||||
seriesid={seriesid}
|
||||
|
|
Loading…
Reference in a new issue