mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix:Refresh podcast episode table when new episodes are downloaded
This commit is contained in:
		
							parent
							
								
									fbe228a4f8
								
							
						
					
					
						commit
						a0eb6bd3dc
					
				@ -87,7 +87,7 @@ export default {
 | 
			
		||||
  watch: {
 | 
			
		||||
    libraryItem: {
 | 
			
		||||
      handler() {
 | 
			
		||||
        this.init()
 | 
			
		||||
        this.refresh()
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
@ -515,6 +515,10 @@ export default {
 | 
			
		||||
    filterSortChanged() {
 | 
			
		||||
      this.init()
 | 
			
		||||
    },
 | 
			
		||||
    refresh() {
 | 
			
		||||
      this.episodesCopy = this.episodes.map((ep) => ({ ...ep }))
 | 
			
		||||
      this.init()
 | 
			
		||||
    },
 | 
			
		||||
    init() {
 | 
			
		||||
      this.destroyEpisodeComponents()
 | 
			
		||||
      this.totalEpisodes = this.episodesList.length
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user