Merge pull request #1320 from whatdoineed2do/podcast-event-fix

[web-src] podcast handling of propogated 'play_count_changed' event
This commit is contained in:
Christian Meffert 2021-12-26 19:04:42 +01:00 committed by GitHub
commit 29cd95f3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,7 @@
:album="selected_album"
:media_kind="media_kind"
@remove-podcast="open_remove_podcast_dialog()"
@play-count-changed="play_count_changed()"
@close="show_details_modal = false" />
<modal-dialog
:show="show_remove_podcast_modal"
@ -145,6 +146,10 @@ export default {
})
},
play_count_changed: function () {
this.$emit('play-count-changed')
},
remove_podcast: function () {
this.show_remove_podcast_modal = false
webapi.library_playlist_delete(this.rss_playlist_to_remove.id).then(() => {