get the right frame
This commit is contained in:
parent
1a52873bf3
commit
97383b8f2e
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ async function loadEdit(id, args) {
|
||||||
data.title = data.edit.name
|
data.title = data.edit.name
|
||||||
data.byline = data.edit.description
|
data.byline = data.edit.description
|
||||||
data.link = `${pandora.proto}://${data.site}/edits/${data.edit.id}`
|
data.link = `${pandora.proto}://${data.site}/edits/${data.edit.id}`
|
||||||
const poster = data.posterFrames[0]
|
const poster = data.edit.posterFrames[0]
|
||||||
if (poster) {
|
if (poster) {
|
||||||
data.poster = `${pandora.proto}://${data.site}/${poster.item}/480p${poster.position}.jpg`
|
data.poster = `${pandora.proto}://${data.site}/${poster.item}/480p${poster.position}.jpg`
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue