|
|
@ -112,14 +112,7 @@ const Table: FunctionComponent<Props> = ({ episodes, update }) => {
|
|
|
|
></SubtitleAction>
|
|
|
|
></SubtitleAction>
|
|
|
|
));
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
|
|
const existing = episode.subtitles.filter(
|
|
|
|
const subtitles = episode.subtitles.map((val, idx) => (
|
|
|
|
(val) =>
|
|
|
|
|
|
|
|
episode.missing_subtitles.findIndex(
|
|
|
|
|
|
|
|
(v) => v.code2 === val.code2
|
|
|
|
|
|
|
|
) === -1
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const subtitles = existing.map((val, idx) => (
|
|
|
|
|
|
|
|
<SubtitleAction
|
|
|
|
<SubtitleAction
|
|
|
|
key={BuildKey(idx, val.code2, "valid")}
|
|
|
|
key={BuildKey(idx, val.code2, "valid")}
|
|
|
|
seriesid={seriesid}
|
|
|
|
seriesid={seriesid}
|
|
|
|