diff options
author | Florrie <towerofnix@gmail.com> | 2020-07-09 17:09:21 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-07-09 17:10:59 -0300 |
commit | 20f8491545c3b598cc6bba893bc79db5cf6bcb1f (patch) | |
tree | d78230914d5e4466ef014c65bbeb829e242a7583 | |
parent | ca096c7a64b5098ac1548d0996e871f63934b7ae (diff) |
don't show Reveal option if track has no parent
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
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)}, |