Browse Source

Replace url when using legacy artist page (#271)

master
jeffvli 3 years ago
parent
commit
87f0be11e0
  1. 2
      src/components/library/ArtistView.tsx

2
src/components/library/ArtistView.tsx

@ -126,7 +126,7 @@ const ArtistView = ({ ...rest }: any) => {
useEffect(() => {
if (settings.getSync('artistPageLegacy') && !rest.isModal) {
history.push(`/library/artist/${artistId}/albums`);
history.replace(`/library/artist/${artistId}/albums`);
}
}, [artistId, history, rest.isModal]);

Loading…
Cancel
Save