From 350c720a7e5d2cccfc10022de54853eb8dfeb75f Mon Sep 17 00:00:00 2001 From: Julien Maille Date: Wed, 7 Jan 2026 22:43:22 +0100 Subject: [PATCH] Fix: Pass imported tracks to createPlaylist so CSV import works --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 212a063..38e9b2e 100644 --- a/js/app.js +++ b/js/app.js @@ -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));