mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-12-04 08:01:16 +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())
|
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 () {
|
mounted: function () {
|
||||||
const cachedPlaylist = this.$store.getters.getCachedPlaylist
|
const cachedPlaylist = this.$store.getters.getCachedPlaylist
|
||||||
|
Loading…
Reference in New Issue
Block a user