diff --git a/src/js/views/Artist.js b/src/js/views/Artist.js index 106158e3..726cb91f 100755 --- a/src/js/views/Artist.js +++ b/src/js/views/Artist.js @@ -197,8 +197,12 @@ class Artist extends React.Component{ } if (this.props.artist){ - var can_play_radio = (scheme == 'spotify') - var can_follow = (scheme == 'spotify') + var is_spotify = (scheme == 'spotify') + if (is_spotify){ + var uris_to_play = helpers.arrayOf('uri',this.props.artist.tracks) + } else { + var uris_to_play = this.props.artist.albums_uris + } return (