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

@ -20872,7 +20872,6 @@ var ArtistGrid = function (_React$Component) {
}, {
key: 'handleContextMenu',
value: function handleContextMenu(e, item) {
console.log(item);
e.preventDefault();
var data = {
e: e,
@ -70783,7 +70782,7 @@ var Track = function (_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);
}
}

File diff suppressed because one or more lines are too long

View File

@ -98,7 +98,7 @@
// Release details
// These are automatically injected to built HTML
var build = "1542914544";
var build = "1542915167";
var version = "3.31.1";
// Construct the script tag