style: auto-fix linting issues
This commit is contained in:
parent
edc0b5d1bd
commit
a63f87410f
2 changed files with 4 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -3732,7 +3732,7 @@ function initializeBlockedContentManager() {
|
|||
if (typeof showNotification === 'function') {
|
||||
showNotification(`Unblocked ${type}: ${itemName}`);
|
||||
}
|
||||
|
||||
|
||||
renderBlockedLists();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue