From 00343cfa91e5d7bdab259f44b89e3d04c7e720e3 Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Sat, 9 Dec 2023 22:02:11 +0100 Subject: [PATCH] [web] Reorder methods --- .../src/components/ModalDialogQueueItem.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/web-src/src/components/ModalDialogQueueItem.vue b/web-src/src/components/ModalDialogQueueItem.vue index 9344bf08..f1d71c19 100644 --- a/web-src/src/components/ModalDialogQueueItem.vue +++ b/web-src/src/components/ModalDialogQueueItem.vue @@ -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) } } }