From 0d29b8bb485b30e961f3031ce95342413a555b9d Mon Sep 17 00:00:00 2001 From: CDrummond Date: Sat, 2 Jul 2022 10:44:03 +0100 Subject: [PATCH] Fix missing queue menu items (Transfer queue, etc). --- ChangeLog | 3 ++- MaterialSkin/HTML/material/html/js/queue-page.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d1d5bd5b0..c82b9ed6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2.9.8 ----- 1. Adjust desktop layout code to try to fix Safari issues (#589) +2. Fix missing queue menu items (Transfer queue, etc). 2.9.7 ----- @@ -11,7 +12,7 @@ or showing track info. 5. Don't show queue menu items in main menu when on desktop layout and queue is hidden. -6. Always place 'Tansfer queue', 'Scroll to current', and 'Add URL' in main +6. Always place 'Transfer queue', 'Scroll to current', and 'Add URL' in main menu. 2.9.6 diff --git a/MaterialSkin/HTML/material/html/js/queue-page.js b/MaterialSkin/HTML/material/html/js/queue-page.js index 89f11dc1b..e43eb0967 100644 --- a/MaterialSkin/HTML/material/html/js/queue-page.js +++ b/MaterialSkin/HTML/material/html/js/queue-page.js @@ -1128,10 +1128,10 @@ var lmsQueue = Vue.component("lms-queue", { var canMove = this.$store.state.players && this.$store.state.players.length>1; if (canMove && this.settingsMenuActions[0]!=PQ_MOVE_QUEUE_ACTION) { this.settingsMenuActions.unshift(PQ_MOVE_QUEUE_ACTION); - bus.$emit('settingsMenuActions', this.wide>1 ? [] : this.settingsMenuActions, 'queue'); + bus.$emit('settingsMenuActions', /*this.wide>1 ? [] :*/ this.settingsMenuActions, 'queue'); } else if (!canMove && this.settingsMenuActions[0]==PQ_MOVE_QUEUE_ACTION) { this.settingsMenuActions.splice(0, 1); - bus.$emit('settingsMenuActions', this.wide>1 ? [] : this.settingsMenuActions, 'queue'); + bus.$emit('settingsMenuActions', /*this.wide>1 ? [] :*/ this.settingsMenuActions, 'queue'); } }, repeatClicked(longPress) {