Updating grid context menus

This commit is contained in:
James Barnsley
2017-01-29 16:34:17 +13:00
parent c108e833dd
commit 3e4cd00b74
5 changed files with 17 additions and 8 deletions

View File

@ -25,10 +25,12 @@ class AlbumGrid extends React.Component{
handleContextMenu(e,item){
e.preventDefault()
var data = {
e: e,
context: 'album',
uris: [item.uri],
item: item
}
this.props.uiActions.showContextMenu( e, data, 'album', 'click' )
this.props.uiActions.showContextMenu(data)
}
render(){