Consistent asset structure

This commit is contained in:
James Barnsley
2018-08-29 21:13:54 +12:00
parent 56e975898f
commit 0e32361c7e
9 changed files with 10922 additions and 13912 deletions

View File

@ -34,7 +34,8 @@ class AlbumGrid extends React.Component{
return (
<div className={className}>
{
this.props.albums.map(album => {
this.props.albums.map(item => {
var album = helpers.collateObject(item, {artists: this.props.artists});
return (
<GridItem
key={album.uri}
@ -55,7 +56,9 @@ class AlbumGrid extends React.Component{
}
const mapStateToProps = (state, ownProps) => {
return {}
return {
artists: state.core.artists
}
}
const mapDispatchToProps = (dispatch) => {