mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-25 04:19:15 -05:00
[web] Reorder methods
This commit is contained in:
parent
5d3fa4e087
commit
00343cfa91
@ -180,16 +180,6 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
remove() {
|
||||
this.$emit('close')
|
||||
webapi.queue_remove(this.item.id)
|
||||
},
|
||||
|
||||
play() {
|
||||
this.$emit('close')
|
||||
webapi.player_play({ item_id: this.item.id })
|
||||
},
|
||||
|
||||
open_album() {
|
||||
if (this.item.data_kind === 'spotify') {
|
||||
this.$router.push({
|
||||
@ -242,6 +232,16 @@ export default {
|
||||
params: { name: this.item.genre },
|
||||
query: { media_kind: this.item.media_kind }
|
||||
})
|
||||
},
|
||||
|
||||
play() {
|
||||
this.$emit('close')
|
||||
webapi.player_play({ item_id: this.item.id })
|
||||
},
|
||||
|
||||
remove() {
|
||||
this.$emit('close')
|
||||
webapi.queue_remove(this.item.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user