mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	fix playlist videos not updating
This commit is contained in:
		
							parent
							
								
									e6015229a0
								
							
						
					
					
						commit
						4991f4e8fc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -84,7 +84,6 @@ export default {
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    mounted() {
 | 
					    mounted() {
 | 
				
			||||||
        this.getPlaylistData();
 | 
					 | 
				
			||||||
        const playlistId = this.$route.query.list;
 | 
					        const playlistId = this.$route.query.list;
 | 
				
			||||||
        if (this.authenticated && playlistId?.length == 36)
 | 
					        if (this.authenticated && playlistId?.length == 36)
 | 
				
			||||||
            this.fetchJson(this.authApiUrl() + "/user/playlists", null, {
 | 
					            this.fetchJson(this.authApiUrl() + "/user/playlists", null, {
 | 
				
			||||||
| 
						 | 
					@ -98,6 +97,7 @@ export default {
 | 
				
			||||||
        this.isPlaylistBookmarked();
 | 
					        this.isPlaylistBookmarked();
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    activated() {
 | 
					    activated() {
 | 
				
			||||||
 | 
					        this.getPlaylistData();
 | 
				
			||||||
        window.addEventListener("scroll", this.handleScroll);
 | 
					        window.addEventListener("scroll", this.handleScroll);
 | 
				
			||||||
        if (this.playlist) this.updateTitle();
 | 
					        if (this.playlist) this.updateTitle();
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue