Skip to content

Commit

Permalink
No context menu for Browsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jaedb committed Nov 17, 2017
1 parent cffc475 commit a91dd33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class List extends React.Component{
)
})
}
<ContextMenuTrigger onTrigger={e => this.handleContextMenu(e, row)} />
{this.props.nocontext ? null : <ContextMenuTrigger onTrigger={e => this.handleContextMenu(e, row)} />}
</div>
)
})
Expand Down
1 change: 1 addition & 0 deletions src/js/views/library/LibraryBrowse.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ class LibraryBrowse extends React.Component{
<Header icon="music" title={title} options={options} uiActions={this.props.uiActions} />
<section className="content-wrapper">
<List
nocontext
columns={[{ name: 'name', width: '100'}]}
rows={items.folders}
className="library-local-directory-list"
Expand Down

0 comments on commit a91dd33

Please sign in to comment.