From fe94dce5e3bd38825dcf8dd6253ee14a4b2157ea Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sun, 9 Aug 2020 20:34:38 +1200 Subject: [PATCH] Add default values for Second's missing properties --- src/renderer/views/Watch/Watch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index 59d38d71a..a5c3afd24 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -351,10 +351,10 @@ export default Vue.extend({ this.videoViewCount = result.viewCount this.videoLikeCount = result.likeCount this.videoDislikeCount = result.dislikeCount - this.channelSubscriptionCountText = result.subCountText + this.channelSubscriptionCountText = result.subCountText || 'FT-0' this.channelId = result.authorId this.channelName = result.author - this.channelThumbnail = result.authorThumbnails[1].url + this.channelThumbnail = result.authorThumbnails[1] ? result.authorThumbnails[1].url : '' this.videoPublished = result.published * 1000 this.videoDescriptionHtml = result.descriptionHtml this.recommendedVideos = result.recommendedVideos