Moving playlists library into own space - loaded on demand rather than init

This commit is contained in:
James Barnsley
2017-08-11 08:08:03 +12:00
parent d38c754103
commit f9bb9427f3
5 changed files with 45 additions and 30 deletions

View File

@ -199,7 +199,13 @@ class LibraryBrowse extends React.Component{
{
grid_items.map(
(item, index) => {
return <GridItem item={item} key={index} link={item.link} />
return (
<GridItem
item={item}
key={index}
onClick={e => hashHistory.push(item.link)}
/>
)
}
)
}