URILink for encoding all URIs; fixes #220; current_track now just a URI
This commit is contained in:
@ -41,7 +41,7 @@ class AlbumGrid extends React.Component{
|
||||
key={album.uri}
|
||||
type="album"
|
||||
item={album}
|
||||
onClick={e => {hashHistory.push(global.baseURL+'album/'+album.uri)}}
|
||||
onClick={e => {hashHistory.push(global.baseURL+'album/'+encodeURIComponent(album.uri))}}
|
||||
onLoad={() => this.handleLoad(album.uri)}
|
||||
onContextMenu={e => this.handleContextMenu(e,album)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user