mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-29 15:36:00 -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"
|
:album="selected_album"
|
||||||
:media_kind="media_kind"
|
:media_kind="media_kind"
|
||||||
@remove-podcast="open_remove_podcast_dialog()"
|
@remove-podcast="open_remove_podcast_dialog()"
|
||||||
|
@play-count-changed="play_count_changed()"
|
||||||
@close="show_details_modal = false" />
|
@close="show_details_modal = false" />
|
||||||
<modal-dialog
|
<modal-dialog
|
||||||
:show="show_remove_podcast_modal"
|
:show="show_remove_podcast_modal"
|
||||||
@ -145,6 +146,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
play_count_changed: function () {
|
||||||
|
this.$emit('play-count-changed')
|
||||||
|
},
|
||||||
|
|
||||||
remove_podcast: function () {
|
remove_podcast: function () {
|
||||||
this.show_remove_podcast_modal = false
|
this.show_remove_podcast_modal = false
|
||||||
webapi.library_playlist_delete(this.rss_playlist_to_remove.id).then(() => {
|
webapi.library_playlist_delete(this.rss_playlist_to_remove.id).then(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user