Fix:Refresh podcast episode table when new episodes are downloaded

This commit is contained in:
advplyr 2024-01-05 14:38:29 -06:00
parent fbe228a4f8
commit a0eb6bd3dc

View File

@ -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