Current track images to use Mopidy-Spotify so no immediate dependency on Spotify HTTP API
This commit is contained in:
@ -24,8 +24,8 @@ export default class KioskModeModal extends React.Component{
|
||||
}
|
||||
|
||||
render(){
|
||||
if (this.props.current_track && this.props.current_track.album && this.props.current_track.album.images){
|
||||
var images = this.props.current_track.album.images
|
||||
if (this.props.current_track && this.props.current_track.images){
|
||||
var images = this.props.current_track.images
|
||||
} else {
|
||||
var images = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user