More migration to coreActions

This commit is contained in:
James Barnsley
2017-08-02 21:11:22 +12:00
parent 0c134459ea
commit 48c37b3ddf
9 changed files with 23 additions and 19 deletions

View File

@ -84,7 +84,7 @@ const mapStateToProps = (state, ownProps) => {
return {
load_queue: state.ui.load_queue,
playlists: state.core.playlists,
category: (state.ui.categories && typeof(state.ui.categories['category:'+ownProps.params.id]) !== 'undefined' ? state.ui.categories['category:'+ownProps.params.id] : false )
category: (state.core.categories && state.core.categories['category:'+ownProps.params.id] !== undefined ? state.core.categories['category:'+ownProps.params.id] : false )
}
}