Update Program.js

This commit is contained in:
Aleksandr Statciuk 2022-11-20 15:19:49 +03:00
parent bc8655e9f1
commit 8bbbd1fe25
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class Program {
toTextObject(text, c.lang)
),
icon: toIconObject(p.icon),
episodeNumbers: p.episodeNumbers || getEpisodeNumbers(p.season, p.episode),
episodeNumbers: p.episodeNum || p.episodeNumbers || getEpisodeNumbers(p.season, p.episode),
date: p.date ? toUnix(p.date) : null,
start: p.start ? toUnix(p.start) : null,
stop: p.stop ? toUnix(p.stop) : null,