[web-src] Cleanup ListItemQueue and ModalDialogAlbum

This commit is contained in:
chme 2018-12-17 10:47:26 +01:00
parent 8f391ecd6a
commit 6e61c703be
2 changed files with 0 additions and 11 deletions

View File

@ -20,16 +20,8 @@ import webapi from '@/webapi'
export default { export default {
name: 'ListItemQueueItem', name: 'ListItemQueueItem',
components: {},
props: ['item', 'position', 'current_position', 'show_only_next_items', 'edit_mode'], props: ['item', 'position', 'current_position', 'show_only_next_items', 'edit_mode'],
data () {
return {
show_details_modal: false
}
},
computed: { computed: {
state () { state () {
return this.$store.state.player return this.$store.state.player
@ -42,7 +34,6 @@ export default {
methods: { methods: {
play: function () { play: function () {
this.show_details_modal = false
webapi.player_play({ 'item_id': this.item.id }) webapi.player_play({ 'item_id': this.item.id })
} }
} }

View File

@ -89,7 +89,6 @@ export default {
}, },
open_album: function () { open_album: function () {
this.show_details_modal = false
if (this.media_kind === 'podcast') { if (this.media_kind === 'podcast') {
this.$router.push({ path: '/podcasts/' + this.album.id }) this.$router.push({ path: '/podcasts/' + this.album.id })
} else if (this.media_kind === 'audiobook') { } else if (this.media_kind === 'audiobook') {
@ -100,7 +99,6 @@ export default {
}, },
open_artist: function () { open_artist: function () {
this.show_details_modal = false
this.$router.push({ path: '/music/artists/' + this.album.artist_id }) this.$router.push({ path: '/music/artists/' + this.album.artist_id })
}, },