Fix bug with play/playNext buttons in Album view

Was using `song` prop instead of `track` prop.
This commit is contained in:
Lucas Verney 2016-08-11 22:33:00 +02:00
parent ab7470d618
commit 43d3b927c1
4 changed files with 9 additions and 9 deletions

View File

@ -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