Browse Source

Fix redirect when saving jellyfin playlist

master
jeffvli 3 years ago
committed by Jeff
parent
commit
6de6ce9f38
  1. 2
      src/components/playlist/PlaylistView.tsx

2
src/components/playlist/PlaylistView.tsx

@ -315,7 +315,7 @@ const PlaylistView = ({ ...rest }) => {
}, },
}); });
history.replace(`/playlist/${data.id}`); history.replace(`/playlist/${newPlaylistId}`);
notifyToast('success', `Saved playlist`); notifyToast('success', `Saved playlist`);
} else { } else {
notifyToast('error', 'Error saving playlist'); notifyToast('error', 'Error saving playlist');

Loading…
Cancel
Save