Fix: Pass imported tracks to createPlaylist so CSV import works
This commit is contained in:
parent
67a97a34a8
commit
350c720a7e
1 changed files with 1 additions and 1 deletions
|
|
@ -513,7 +513,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||
}
|
||||
}
|
||||
|
||||
db.createPlaylist(name, [], '').then(async playlist => {
|
||||
db.createPlaylist(name, tracks, '').then(async playlist => {
|
||||
await handlePublicStatus(playlist);
|
||||
// Update DB again with isPublic flag
|
||||
await db.performTransaction('user_playlists', 'readwrite', (store) => store.put(playlist));
|
||||
|
|
|
|||
Loading…
Reference in a new issue