Track lyrics, sans Genius authentication
This commit is contained in:
@ -24,7 +24,6 @@ class ArtistGrid extends React.Component{
|
||||
}
|
||||
|
||||
handleContextMenu(e,item){
|
||||
console.log(item);
|
||||
e.preventDefault();
|
||||
var data = {
|
||||
e: e,
|
||||
|
||||
@ -39,7 +39,7 @@ class Track extends React.Component{
|
||||
if (this.props.track){
|
||||
this.setWindowTitle(this.props.track);
|
||||
|
||||
if (this.props.track.artists && !this.props.track.lyrics_results){
|
||||
if (this.props.genius_authorized && this.props.track.artists && !this.props.track.lyrics_results){
|
||||
this.props.geniusActions.findTrackLyrics(this.props.track);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user