style: auto-fix linting issues

This commit is contained in:
JulienMaille 2026-01-31 08:53:12 +00:00 committed by github-actions[bot]
parent 758d1ffd6f
commit f0fd8c8c9e
2 changed files with 21 additions and 17 deletions

View file

@ -993,11 +993,13 @@ document.addEventListener('DOMContentLoaded', async () => {
const playlists = await db.getPlaylists(false); const playlists = await db.getPlaylists(false);
list.innerHTML = ` list.innerHTML =
`
<div class="modal-option create-new-option" style="border-bottom: 1px solid var(--border); margin-bottom: 0.5rem;"> <div class="modal-option create-new-option" style="border-bottom: 1px solid var(--border); margin-bottom: 0.5rem;">
<span style="font-weight: 600; color: var(--primary);">+ Create New Playlist</span> <span style="font-weight: 600; color: var(--primary);">+ Create New Playlist</span>
</div> </div>
` + playlists ` +
playlists
.map( .map(
(p) => ` (p) => `
<div class="modal-option" data-id="${p.id}"> <div class="modal-option" data-id="${p.id}">

View file

@ -843,11 +843,13 @@ export async function handleTrackAction(
} }
} }
list.innerHTML = ` list.innerHTML =
`
<div class="modal-option create-new-option" style="border-bottom: 1px solid var(--border); margin-bottom: 0.5rem;"> <div class="modal-option create-new-option" style="border-bottom: 1px solid var(--border); margin-bottom: 0.5rem;">
<span style="font-weight: 600; color: var(--primary);">+ Create New Playlist</span> <span style="font-weight: 600; color: var(--primary);">+ Create New Playlist</span>
</div> </div>
` + playlists ` +
playlists
.map((p) => { .map((p) => {
const alreadyContains = playlistsWithTrack.has(p.id); const alreadyContains = playlistsWithTrack.has(p.id);
return ` return `