From 6de6ce9f387c1ef901e69e9625dd5667b68fbbb3 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Tue, 23 Nov 2021 13:16:20 -0800 Subject: [PATCH] Fix redirect when saving jellyfin playlist --- src/components/playlist/PlaylistView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/playlist/PlaylistView.tsx b/src/components/playlist/PlaylistView.tsx index 31fc7d4..7b4bed2 100644 --- a/src/components/playlist/PlaylistView.tsx +++ b/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`); } else { notifyToast('error', 'Error saving playlist');