Recommended live video shows live tag, instead of undefined (#665)
Fixes #660
This commit is contained in:
parent
65c1b51a42
commit
aa7de120b5
|
@ -254,7 +254,7 @@ export default Vue.extend({
|
|||
this.channelId = this.data.authorId
|
||||
this.duration = this.calculateVideoDuration(this.data.lengthSeconds)
|
||||
this.description = this.data.description
|
||||
this.isLive = this.data.liveNow
|
||||
this.isLive = this.data.liveNow || this.data.lengthSeconds === 'undefined'
|
||||
this.isUpcoming = this.data.isUpcoming || this.data.premiere
|
||||
this.viewCount = this.data.viewCount
|
||||
|
||||
|
|
Loading…
Reference in New Issue