Update Program.js
This commit is contained in:
parent
ab3680e854
commit
c7d13690d1
|
@ -9,8 +9,8 @@ class Program {
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
site: p.site || c.site || '',
|
site: c.site || '',
|
||||||
channel: p.channel || c.id || '',
|
channel: c.id || '',
|
||||||
titles: toArray(p.titles || p.title).map(text => toTextObject(text, c.lang)),
|
titles: toArray(p.titles || p.title).map(text => toTextObject(text, c.lang)),
|
||||||
sub_titles: toArray(p.sub_titles || p.sub_title).map(text => toTextObject(text, c.lang)),
|
sub_titles: toArray(p.sub_titles || p.sub_title).map(text => toTextObject(text, c.lang)),
|
||||||
descriptions: toArray(p.descriptions || p.description || p.desc).map(text =>
|
descriptions: toArray(p.descriptions || p.description || p.desc).map(text =>
|
||||||
|
|
Loading…
Reference in New Issue