diff --git a/js/events.js b/js/events.js index 02ad3b7..156288c 100644 --- a/js/events.js +++ b/js/events.js @@ -1858,8 +1858,9 @@ export async function handleTrackAction( } else if (action === 'block-album') { const { contentBlockingSettings } = await import('./storage.js'); const albumId = type === 'album' ? item.id : item.album?.id; - const albumTitle = type === 'album' ? (item.title || item.name) : (item.album?.title || item.album?.name); - const albumArtist = type === 'album' ? (item.artist?.name || item.artist) : (item.album?.artist?.name || item.album?.artist); + const albumTitle = type === 'album' ? item.title || item.name : item.album?.title || item.album?.name; + const albumArtist = + type === 'album' ? item.artist?.name || item.artist : item.album?.artist?.name || item.album?.artist; if (!albumId) { showNotification('No album information available'); diff --git a/js/settings.js b/js/settings.js index e562262..9323dad 100644 --- a/js/settings.js +++ b/js/settings.js @@ -3732,7 +3732,7 @@ function initializeBlockedContentManager() { if (typeof showNotification === 'function') { showNotification(`Unblocked ${type}: ${itemName}`); } - + renderBlockedLists(); }); });