Merge pull request #88 from Xoconoch/dev

fixed individual album requesting in artist view page
This commit is contained in:
Xoconoch
2025-03-24 19:42:57 -06:00
committed by GitHub

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