From d71e8fd1dcb206a061edb893c4f0c076616d3b16 Mon Sep 17 00:00:00 2001 From: Julien Maille Date: Sat, 10 Jan 2026 15:52:15 +0100 Subject: [PATCH] Fix playlist deletion from detail page not syncing to Firebase --- js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/app.js b/js/app.js index f96d057..db37cea 100644 --- a/js/app.js +++ b/js/app.js @@ -626,6 +626,7 @@ document.addEventListener('DOMContentLoaded', async () => { const playlistId = window.location.hash.split('/')[1]; if (confirm('Are you sure you want to delete this playlist?')) { db.deletePlaylist(playlistId).then(() => { + syncManager.syncUserPlaylist({ id: playlistId }, 'delete'); window.location.hash = '#library'; }); }