fix titles for episodes

pull/2816/head
phyzical 3 months ago
parent 2dd640b117
commit 5b1d767c7f
No known key found for this signature in database
GPG Key ID: 91E97494BCA22BCF

@ -33,7 +33,7 @@ type LocalisedType = {
id: number;
seriesId: number;
type: "movie" | "episode";
name: string | null;
name: string;
isMovie: boolean;
};
@ -51,7 +51,7 @@ function getLocalisedValues(item: SupportType): LocalisedType {
seriesId: item.sonarrSeriesId,
id: item.sonarrEpisodeId,
type: "episode",
name: null,
name: item.title,
isMovie: false,
};
}
@ -153,7 +153,7 @@ const SubtitleToolView: FunctionComponent<SubtitleToolViewProps> = ({
path: v.path,
// eslint-disable-next-line camelcase
raw_language: v,
name: name || v.name,
name,
hi: toPython(v.forced),
forced: toPython(v.hi),
isMovie,

Loading…
Cancel
Save