mirror of https://github.com/FreeTubeApp/FreeTube
Fix error when playing video with playlist with Indivious API and... (#3294)
* ! Fix error when playing video with playlist with Indivious API * ! Fix switching comment sort does not get first page of comments
This commit is contained in:
parent
c37cb95d1b
commit
a878ff395a
|
@ -81,6 +81,8 @@ export default defineComponent({
|
|||
handleSortChange: function () {
|
||||
this.sortNewest = !this.sortNewest
|
||||
this.commentData = []
|
||||
// nextPageToken is reset to ensure first page is get
|
||||
this.nextPageToken = null
|
||||
this.getCommentData()
|
||||
},
|
||||
|
||||
|
|
|
@ -317,7 +317,7 @@ export default defineComponent({
|
|||
getPlaylistInformationInvidious: function () {
|
||||
this.isLoading = true
|
||||
|
||||
invidiousGetPlaylistInfo({ playlistId: this.playlistId }).then((result) => {
|
||||
invidiousGetPlaylistInfo(this.playlistId).then((result) => {
|
||||
this.playlistTitle = result.title
|
||||
this.channelName = result.author
|
||||
this.channelId = result.authorId
|
||||
|
|
Loading…
Reference in New Issue