mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
[web-src] podcast handling of propogated 'play_count_changed' event
This commit is contained in:
parent
d6dc92359e
commit
af91d99468
@ -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(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user