From a91dd336eabc37c5e7643f076440453f9746cb1a Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Sat, 18 Nov 2017 08:28:45 +1300 Subject: [PATCH] No context menu for Browsing --- src/js/components/List.js | 2 +- src/js/views/library/LibraryBrowse.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/components/List.js b/src/js/components/List.js index de55e3f22..8ed126adf 100755 --- a/src/js/components/List.js +++ b/src/js/components/List.js @@ -104,7 +104,7 @@ class List extends React.Component{ ) }) } - this.handleContextMenu(e, row)} /> + {this.props.nocontext ? null : this.handleContextMenu(e, row)} />} ) }) diff --git a/src/js/views/library/LibraryBrowse.js b/src/js/views/library/LibraryBrowse.js index ecbfc0fff..aa8ae385a 100755 --- a/src/js/views/library/LibraryBrowse.js +++ b/src/js/views/library/LibraryBrowse.js @@ -124,6 +124,7 @@ class LibraryBrowse extends React.Component{