Fix sidebar refresh to also reload playlist settings

Refresh button now calls refreshPlaylists() which loads both playlists
and their settings (including hidden flag). Previously only reloaded
playlists, so hidden status changes weren't reflected.
This commit is contained in:
vicrodh committed 2026-01-24 18:45:46 -06:00
1 parent be4559b1b8
commit fec1fc3617
1 file changed
+2 -1
+2 -1
View File
@@ -300,6 +300,7 @@
export function refreshPlaylists() {
playlistTooltipCache.clear();
loadUserPlaylists();
loadPlaylistSettings();
}
export function refreshPlaylistSettings() {
@@ -662,7 +663,7 @@
</div>
{/if}
<button class="menu-item" onclick={() => handleMenuAction(loadUserPlaylists)}>
<button class="menu-item" onclick={() => handleMenuAction(refreshPlaylists)}>
<RefreshCw size={14} />
<span>{$t('actions.refresh')}</span>
</button>