URILink for encoding all URIs; fixes #220; current_track now just a URI

This commit is contained in:
James Barnsley
2017-10-27 10:51:48 +13:00
parent a0a674d606
commit e93751a702
22 changed files with 252 additions and 442 deletions

View File

@ -24,7 +24,7 @@ export default class CategoryGrid extends React.Component{
key={category.id}
type="category"
item={category}
onClick={e => {hashHistory.push(global.baseURL+'discover/categories/'+category.id)}}
onClick={e => {hashHistory.push(global.baseURL+'discover/categories/'+encodeURIComponent(category.id))}}
/>
)
})