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') {
|
} else if (action === 'block-album') {
|
||||||
const { contentBlockingSettings } = await import('./storage.js');
|
const { contentBlockingSettings } = await import('./storage.js');
|
||||||
const albumId = type === 'album' ? item.id : item.album?.id;
|
const albumId = type === 'album' ? item.id : item.album?.id;
|
||||||
const albumTitle = type === 'album' ? (item.title || item.name) : (item.album?.title || item.album?.name);
|
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 albumArtist =
|
||||||
|
type === 'album' ? item.artist?.name || item.artist : item.album?.artist?.name || item.album?.artist;
|
||||||
|
|
||||||
if (!albumId) {
|
if (!albumId) {
|
||||||
showNotification('No album information available');
|
showNotification('No album information available');
|
||||||
|
|
|
||||||
|
|
@ -3732,7 +3732,7 @@ function initializeBlockedContentManager() {
|
||||||
if (typeof showNotification === 'function') {
|
if (typeof showNotification === 'function') {
|
||||||
showNotification(`Unblocked ${type}: ${itemName}`);
|
showNotification(`Unblocked ${type}: ${itemName}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
renderBlockedLists();
|
renderBlockedLists();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue