fix(frontend): fix tv shows failing to open when firstAirDate is undefined

fix #347
This commit is contained in:
sct
2020-12-17 01:14:12 +00:00
parent 647d5efb09
commit c21fa5b535
3 changed files with 9 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ export interface TvDetails {
profilePath?: string;
}[];
episodeRunTime: number[];
firstAirDate: string;
firstAirDate?: string;
genres: Genre[];
homepage: string;
inProduction: boolean;