mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[web] Remove unused property
This commit is contained in:
parent
b24e025b43
commit
127db529ef
@ -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'],
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user