From c62a495f9627cb5075ed943583109293dc9353f6 Mon Sep 17 00:00:00 2001 From: MerlinScheurer Date: Sun, 12 Jan 2025 16:11:00 +0100 Subject: [PATCH] Add textbox closing after channel/playlist subscribing --- frontend/src/pages/Channels.tsx | 3 ++- frontend/src/pages/Playlists.tsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/Channels.tsx b/frontend/src/pages/Channels.tsx index 0dbe1dc5..7d9b9f99 100644 --- a/frontend/src/pages/Channels.tsx +++ b/frontend/src/pages/Channels.tsx @@ -120,7 +120,8 @@ const Channels = () => { onClick={async () => { await updateBulkChannelSubscriptions(channelsToSubscribeTo, true); - setRefresh(true); + setShowNotification(true); + setShowAddForm(false); }} /> diff --git a/frontend/src/pages/Playlists.tsx b/frontend/src/pages/Playlists.tsx index 4edc4b7f..55b08ecf 100644 --- a/frontend/src/pages/Playlists.tsx +++ b/frontend/src/pages/Playlists.tsx @@ -107,6 +107,7 @@ const Playlists = () => { onClick={async () => { await updateBulkPlaylistSubscriptions(playlistsToAddText, true); setShowNotification(true); + setShowAddForm(false); }} />