From 7927e334adf6348660505e613ff718af63a15228 Mon Sep 17 00:00:00 2001 From: Preston Date: Wed, 24 Jun 2020 21:41:46 -0400 Subject: [PATCH] Fix video recommendations for Invidious API and alter text when viewing comment replies --- src/renderer/components/ft-list-video/ft-list-video.js | 1 + .../components/watch-video-comments/watch-video-comments.vue | 4 +++- 2 files changed, 4 insertions(+), 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 fa63d7da..efddb67b 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.js +++ b/src/renderer/components/ft-list-video/ft-list-video.js @@ -111,6 +111,7 @@ export default Vue.extend({ if (typeof (this.data.descriptionHtml) !== 'undefined' || typeof (this.data.index) !== 'undefined' || + typeof (this.data.authorId) !== 'undefined' || typeof (this.data.publishedText) !== 'undefined' || typeof (this.data.authorThumbnails) === 'object' ) { diff --git a/src/renderer/components/watch-video-comments/watch-video-comments.vue b/src/renderer/components/watch-video-comments/watch-video-comments.vue index f9405921..89996ec2 100644 --- a/src/renderer/components/watch-video-comments/watch-video-comments.vue +++ b/src/renderer/components/watch-video-comments/watch-video-comments.vue @@ -60,7 +60,9 @@ class="commentMoreReplies" @click="getCommentReplies(index)" > - View {{ comment.numReplies }} replies + View + Hide + {{ comment.numReplies }} replies