fixed individual album requesting in artist view page

This commit is contained in:
coolgitternotin
2025-03-24 19:40:57 -06:00
parent 6e9a2f5ff9
commit f89e234cbc

View File

@@ -331,7 +331,8 @@ function attachDownloadListeners() {
e.stopPropagation();
const url = e.currentTarget.dataset.url || '';
const name = e.currentTarget.dataset.name || 'Unknown';
const type = e.currentTarget.dataset.type || 'album';
// Always use 'album' type for individual album downloads regardless of category
const type = 'album';
e.currentTarget.remove();
// Use the centralized downloadQueue.download method