Fix video recommendations for Invidious API and alter text when viewing comment replies

This commit is contained in:
Preston 2020-06-24 21:41:46 -04:00
parent 56fd7fbaa5
commit 7927e334ad
2 changed files with 4 additions and 1 deletions

View File

@ -111,6 +111,7 @@ export default Vue.extend({
if (typeof (this.data.descriptionHtml) !== 'undefined' || if (typeof (this.data.descriptionHtml) !== 'undefined' ||
typeof (this.data.index) !== 'undefined' || typeof (this.data.index) !== 'undefined' ||
typeof (this.data.authorId) !== 'undefined' ||
typeof (this.data.publishedText) !== 'undefined' || typeof (this.data.publishedText) !== 'undefined' ||
typeof (this.data.authorThumbnails) === 'object' typeof (this.data.authorThumbnails) === 'object'
) { ) {

View File

@ -60,7 +60,9 @@
class="commentMoreReplies" class="commentMoreReplies"
@click="getCommentReplies(index)" @click="getCommentReplies(index)"
> >
View {{ comment.numReplies }} replies <span v-if="!comment.showReplies">View</span>
<span v-else>Hide</span>
{{ comment.numReplies }} replies
</p> </p>
<div <div
v-if="comment.showReplies" v-if="comment.showReplies"