From 20f8491545c3b598cc6bba893bc79db5cf6bcb1f Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 9 Jul 2020 17:09:21 -0300 Subject: don't show Reveal option if track has no parent --- ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.js') diff --git a/ui.js b/ui.js index 0499ff6..de0b214 100644 --- a/ui.js +++ b/ui.js @@ -1024,7 +1024,7 @@ class AppElement extends FocusElement { let items; if (listing.grouplike.isTheQueue && isTrack(item)) { items = [ - this.tabberPane.visible && {label: 'Reveal', action: () => this.reveal(item)}, + item[parentSymbol] && this.tabberPane.visible && {label: 'Reveal', action: () => this.reveal(item)}, {divider: true}, canControlQueue && {label: 'Play later', action: () => this.playLater(item)}, canControlQueue && {label: 'Play sooner', action: () => this.playSooner(item)}, -- cgit 1.3.0-6-gf8a5