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'; }); }