Browse Source

Fix player 2 index after adding auto playlist

master
jeffvli 3 years ago
committed by Jeff
parent
commit
c257a606c3
  1. 2
      src/components/player/NowPlayingView.tsx

2
src/components/player/NowPlayingView.tsx

@ -213,7 +213,7 @@ const NowPlayingView = () => {
`Added ${cleanedSongs.length} ${difference !== 0 ? `(-${difference} invalid)` : ''} song(s)`
);
}
dispatch(fixPlayer2Index());
setIsLoadingRandom(false);
return autoPlaylistTriggerRef.current.close();
};

Loading…
Cancel
Save