Skip to content

Commit

Permalink
Fix playlist view on the watch page not reacting to playlist changes (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue authored Aug 21, 2023
1 parent 99cf201 commit 8c6bfaa
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ export default defineComponent({
nextTick(() => this.scrollToCurrentVideo())
}
},
playlistId: function (newVal, oldVal) {
if (oldVal !== newVal) {
if (!process.env.IS_ELECTRON || this.backendPreference === 'invidious') {
this.getPlaylistInformationInvidious()
} else {
this.getPlaylistInformationLocal()
}
}
}
},
mounted: function () {
const cachedPlaylist = this.$store.getters.getCachedPlaylist
Expand Down

0 comments on commit 8c6bfaa

Please sign in to comment.