Skip to content

Commit

Permalink
Fix play single song action
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Jul 4, 2021
1 parent 114fdce commit 27ba267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/reducers/playerReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const reducePlayTracks = (state, { data, id }) => {
const reduceSetTrack = (state, { data }) => {
return {
...state,
queue: [mapToAudioLists(0, data)],
queue: [mapToAudioLists(data)],
playIndex: 0,
clear: true,
}
Expand Down

0 comments on commit 27ba267

Please sign in to comment.