Recommended live video shows live tag, instead of undefined (#665)

Fixes #660
This commit is contained in:
Synkky 2020-10-14 14:50:57 +01:00 committed by GitHub
parent 65c1b51a42
commit aa7de120b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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