From aa7de120b59f222fc47366b37851ae401c541b19 Mon Sep 17 00:00:00 2001 From: Synkky <41585298+Synkky@users.noreply.github.com> Date: Wed, 14 Oct 2020 14:50:57 +0100 Subject: [PATCH] Recommended live video shows live tag, instead of undefined (#665) Fixes #660 --- src/renderer/components/ft-list-video/ft-list-video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/ft-list-video/ft-list-video.js b/src/renderer/components/ft-list-video/ft-list-video.js index 77387cd5..e9f79b3b 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.js +++ b/src/renderer/components/ft-list-video/ft-list-video.js @@ -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