diff options
author | Florrie <towerofnix@gmail.com> | 2020-07-09 17:09:21 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-07-09 17:09:21 -0300 |
commit | 3bdaa6dd24e258dbecbc9efe11b7a583246c7b79 (patch) | |
tree | 0d7892a7e9cfb3c74809f2528f6098c8db4e2bb6 | |
parent | a8bebdac05d6857eff5c87ab63e44edddcbb148a (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)}, |