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');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue