Merge pull request #2479 from robertkleinschuster/playlist-videos-not-updating

fix playlist videos not updating
This commit is contained in:
Kavin 2023-05-31 17:47:37 +01:00 committed by GitHub
commit aedb762935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,6 @@ export default {
},
},
mounted() {
this.getPlaylistData();
const playlistId = this.$route.query.list;
if (this.authenticated && playlistId?.length == 36)
this.fetchJson(this.authApiUrl() + "/user/playlists", null, {
@ -98,6 +97,7 @@ export default {
this.isPlaylistBookmarked();
},
activated() {
this.getPlaylistData();
window.addEventListener("scroll", this.handleScroll);
if (this.playlist) this.updateTitle();
},