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:
1 parent
be4559b1b8
commit
fec1fc3617
1 file changed
+2
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user