style: auto-fix linting issues
This commit is contained in:
parent
758d1ffd6f
commit
f0fd8c8c9e
2 changed files with 21 additions and 17 deletions
|
|
@ -993,11 +993,13 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||
|
||||
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;">
|
||||
<span style="font-weight: 600; color: var(--primary);">+ Create New Playlist</span>
|
||||
</div>
|
||||
` + playlists
|
||||
` +
|
||||
playlists
|
||||
.map(
|
||||
(p) => `
|
||||
<div class="modal-option" data-id="${p.id}">
|
||||
|
|
|
|||
|
|
@ -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;">
|
||||
<span style="font-weight: 600; color: var(--primary);">+ Create New Playlist</span>
|
||||
</div>
|
||||
` + playlists
|
||||
` +
|
||||
playlists
|
||||
.map((p) => {
|
||||
const alreadyContains = playlistsWithTrack.has(p.id);
|
||||
return `
|
||||
|
|
|
|||
Loading…
Reference in a new issue