diff --git a/src/routes/WatchVideo.vue b/src/routes/WatchVideo.vue index 3fe116b..e7b5343 100644 --- a/src/routes/WatchVideo.vue +++ b/src/routes/WatchVideo.vue @@ -124,7 +124,7 @@ - +
Comments
@@ -175,6 +175,7 @@ export default { sponsors: null, selectedAutoLoop: false, showDesc: true, + commentsLoaded: false, comments: null, channelId: null, @@ -302,6 +303,7 @@ export default { this.comments = await this.$store.dispatch('auth/makeRequest', { path: '/comments/' + this.videoId }) + this.commentsLoaded = true }, onCommentsProgressIntersect (entries) { @@ -399,10 +401,6 @@ export default { videoId () { return this.$route.query.v || this.$route.params.v }, - availableComments () { - const l = this.comments?.comments?.length - return Number.isFinite(l) ? l : 0 - }, initialSkip () { // 't' in $route.query ? Number($route.query.t) : (lastWatch.progress ? lastWatch.progress : undefined) // 1st Priority - t in query