mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-16 20:35:00 +02:00
Fix:Refresh podcast episode table when new episodes are downloaded
This commit is contained in:
parent
fbe228a4f8
commit
a0eb6bd3dc
1 changed files with 5 additions and 1 deletions
|
@ -87,7 +87,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
libraryItem: {
|
libraryItem: {
|
||||||
handler() {
|
handler() {
|
||||||
this.init()
|
this.refresh()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -515,6 +515,10 @@ export default {
|
||||||
filterSortChanged() {
|
filterSortChanged() {
|
||||||
this.init()
|
this.init()
|
||||||
},
|
},
|
||||||
|
refresh() {
|
||||||
|
this.episodesCopy = this.episodes.map((ep) => ({ ...ep }))
|
||||||
|
this.init()
|
||||||
|
},
|
||||||
init() {
|
init() {
|
||||||
this.destroyEpisodeComponents()
|
this.destroyEpisodeComponents()
|
||||||
this.totalEpisodes = this.episodesList.length
|
this.totalEpisodes = this.episodesList.length
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue