fix(ui): refresh sidebar playlist visibility

This commit is contained in:
vicrodh committed 2026-01-12 15:39:08 -06:00
1 parent 78ff72e58a
commit 7a142b8d3e
2 files changed
+6

No files matched your search

+4
View File
@@ -215,6 +215,10 @@
loadUserPlaylists();
}
export function refreshPlaylistSettings() {
loadPlaylistSettings();
}
// Menu handling functions
function closeMenu() {
menuOpen = false;
+2
View File
@@ -933,6 +933,7 @@
showToast('Playlist created', 'success');
}
sidebarRef?.refreshPlaylists();
sidebarRef?.refreshPlaylistSettings();
}
function openImportPlaylist() {
@@ -941,6 +942,7 @@
function handlePlaylistImported(summary: { qobuz_playlist_id?: number | null }) {
sidebarRef?.refreshPlaylists();
sidebarRef?.refreshPlaylistSettings();
if (summary.qobuz_playlist_id) {
selectPlaylist(summary.qobuz_playlist_id);
}