Skip to content

Commit

Permalink
Merge pull request #555 from paramsingh/fix-small-bug
Browse files Browse the repository at this point in the history
Correctly update state for current playing track
  • Loading branch information
paramsingh authored Mar 18, 2019
2 parents 549de61 + b31cd6d commit 2b711ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listenbrainz/webserver/static/js/jsx/spotify-player.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export class SpotifyPlayer extends React.Component {
this.setState({
progressMs: position,
durationMs: duration,
currentSpotifyTrack: current_track,
currentSpotifyTrack: current_track || {},
playerPaused: paused
});
if (this._firstRun)
Expand Down

0 comments on commit 2b711ed

Please sign in to comment.