From 70a29bdf9ba48249131ffdc7728c4137507e4e74 Mon Sep 17 00:00:00 2001 From: Julien Maille Date: Sun, 18 Jan 2026 22:35:15 +0100 Subject: [PATCH] FIX: enable play button for EPs and Singles on artist page --- js/ui.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/ui.js b/js/ui.js index 569eb51..db90c9e 100644 --- a/js/ui.js +++ b/js/ui.js @@ -1925,6 +1925,14 @@ export class UIRenderer { if (artist.eps && artist.eps.length > 0) { epsContainer.innerHTML = artist.eps.map((album) => this.createAlbumCardHTML(album)).join(''); epsSection.style.display = 'block'; + + artist.eps.forEach((album) => { + const el = epsContainer.querySelector(`[data-album-id="${album.id}"]`); + if (el) { + trackDataStore.set(el, album); + this.updateLikeState(el, 'album', album.id); + } + }); } else { epsSection.style.display = 'none'; }