Window title reflects current view; Hosted-instance tracking

This commit is contained in:
James Barnsley
2018-06-29 14:26:06 +12:00
parent 29f60071a9
commit 82fa3354c6
24 changed files with 23258 additions and 21027 deletions

View File

@ -22,6 +22,7 @@ class DiscoverFeatured extends React.Component{
}
componentDidMount(){
this.props.uiActions.setWindowTitle("Featured playlists");
if (!this.props.featured_playlists){
this.props.spotifyActions.getFeaturedPlaylists();
}