diff --git a/web-src/src/components/ModalDialogAlbum.vue b/web-src/src/components/ModalDialogAlbum.vue index 75595f4d..cdaaafee 100644 --- a/web-src/src/components/ModalDialogAlbum.vue +++ b/web-src/src/components/ModalDialogAlbum.vue @@ -123,7 +123,6 @@ export default { props: { album: { required: true, type: Object }, media_kind: { default: '', type: String }, - new_tracks: { required: true, type: Array }, show: Boolean }, emits: ['close', 'remove-podcast', 'play-count-changed'], diff --git a/web-src/src/pages/PagePodcast.vue b/web-src/src/pages/PagePodcast.vue index 77a5b69d..87340f1e 100644 --- a/web-src/src/pages/PagePodcast.vue +++ b/web-src/src/pages/PagePodcast.vue @@ -40,7 +40,6 @@ :show="show_details_modal" :album="album" :media_kind="'podcast'" - :new_tracks="new_tracks" @close="show_details_modal = false" @play-count-changed="reload_tracks" @remove-podcast="open_remove_podcast_dialog" @@ -121,12 +120,6 @@ export default { } }, - computed: { - new_tracks() { - return this.tracks.items.filter((track) => track.play_count === 0).length - } - }, - methods: { open_remove_podcast_dialog() { webapi