Fix bug with play/playNext buttons in Album view
Was using `song` prop instead of `track` prop.
This commit is contained in:
parent
ab7470d618
commit
43d3b927c1
@ -35,7 +35,7 @@ class AlbumTrackRowCSSIntl extends Component {
|
||||
*/
|
||||
onPlayClick() {
|
||||
$(this.refs.play).blur();
|
||||
this.props.playAction(this.props.song.get("id"));
|
||||
this.props.playAction(this.props.track.get("id"));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -43,7 +43,7 @@ class AlbumTrackRowCSSIntl extends Component {
|
||||
*/
|
||||
onPlayNextClick() {
|
||||
$(this.refs.playNext).blur();
|
||||
this.props.playNextAction(this.props.song.get("id"));
|
||||
this.props.playNextAction(this.props.track.get("id"));
|
||||
}
|
||||
|
||||
render() {
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user