Current track artwork force mopidy host:port like we do for albums

This commit is contained in:
James Barnsley
2017-05-06 23:14:57 +12:00
parent 3b85647341
commit 8b451c3e03
4 changed files with 29 additions and 15 deletions

View File

@ -44,14 +44,6 @@ class Artist extends React.Component{
}
}
componentWillUpdate( nextProps, nextState ){
if (nextProps.params.sub_view != this.props.params.sub_view && nextProps.params.sub_view == 'about'){
if (this.props.artist && !this.props.artist.bio){
this.props.lastfmActions.getArtist( this.props.params.uri, this.props.artist.name.replace('&','and') )
}
}
}
handleContextMenu(e){
var data = {
e: e,