Pushing to history problematic

This commit is contained in:
James Barnsley
2019-01-15 08:05:09 +13:00
parent b0027f0607
commit 4b5a5654e4
6 changed files with 12755 additions and 15221 deletions

View File

@ -44,7 +44,7 @@ class AlbumGrid extends React.Component{
type="album"
item={album}
show_source_icon={this.props.show_source_icon}
onClick={e => {history.push(global.baseURL+'album/'+encodeURIComponent(album.uri))}}
onClick={e => {history.push(global.baseURL+'album/'+album.uri)}}
onContextMenu={e => this.handleContextMenu(e,album)}
/>
)}