Window title reflects current view; Hosted-instance tracking
This commit is contained in:
@ -30,6 +30,8 @@ class LibraryArtists extends React.Component{
|
||||
}
|
||||
|
||||
componentDidMount(){
|
||||
this.props.uiActions.setWindowTitle("Artists");
|
||||
|
||||
if (!this.props.mopidy_library_artists && this.props.mopidy_connected && (this.props.source == 'all' || this.props.source == 'local')){
|
||||
this.props.mopidyActions.getLibraryArtists();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user