From a63f87410fe3b2b105689d4ef29657fbb071e3fe Mon Sep 17 00:00:00 2001 From: SamidyFR <168582143+SamidyFR@users.noreply.github.com> Date: Sun, 29 Mar 2026 15:05:42 +0000 Subject: [PATCH] style: auto-fix linting issues --- js/events.js | 5 +++-- js/settings.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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(); }); });