fix: show 2 top releases by default, 4 when expanded

This commit is contained in:
2026-03-30 00:10:26 -04:00
parent 7addee575a
commit 1f9b3452fa
@@ -1095,13 +1095,13 @@ export class ExploreArtistDetails extends LitElement {
const expanded = this.topSectionExpanded;
const trackLimit = expanded ? 10 : 5;
const releaseLimit = expanded ? 8 : 4;
const releaseLimit = expanded ? 4 : 2;
const tracks = this.topTracks.slice(0, trackLimit);
const releases = this.topReleaseGroups.slice(0, releaseLimit);
const canExpand =
this.topTracks.length > 5 || this.topReleaseGroups.length > 4;
this.topTracks.length > 5 || this.topReleaseGroups.length > 2;
return html`
<section>