[web] Remove unused property

This commit is contained in:
Alain Nussbaumer 2024-02-28 13:12:36 +01:00
parent b24e025b43
commit 127db529ef
2 changed files with 0 additions and 8 deletions

View File

@ -123,7 +123,6 @@ export default {
props: { props: {
album: { required: true, type: Object }, album: { required: true, type: Object },
media_kind: { default: '', type: String }, media_kind: { default: '', type: String },
new_tracks: { required: true, type: Array },
show: Boolean show: Boolean
}, },
emits: ['close', 'remove-podcast', 'play-count-changed'], emits: ['close', 'remove-podcast', 'play-count-changed'],

View File

@ -40,7 +40,6 @@
:show="show_details_modal" :show="show_details_modal"
:album="album" :album="album"
:media_kind="'podcast'" :media_kind="'podcast'"
:new_tracks="new_tracks"
@close="show_details_modal = false" @close="show_details_modal = false"
@play-count-changed="reload_tracks" @play-count-changed="reload_tracks"
@remove-podcast="open_remove_podcast_dialog" @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: { methods: {
open_remove_podcast_dialog() { open_remove_podcast_dialog() {
webapi webapi