Track lyrics, sans Genius authentication

This commit is contained in:
James Barnsley
2018-11-26 08:43:16 +13:00
parent 8598a0ad45
commit ee5c1889b1
5 changed files with 4 additions and 6 deletions

View File

@ -24,7 +24,6 @@ class ArtistGrid extends React.Component{
}
handleContextMenu(e,item){
console.log(item);
e.preventDefault();
var data = {
e: e,

View File

@ -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);
}
}