mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-12-03 15:41:41 +01:00
Fix playlist view on the watch page not reacting to playlist changes (#3897)
This commit is contained in:
parent
99cf201607
commit
8c6bfaafa6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user