feat: show release year instead of type on top release cards
Added date field to LBTopReleaseGroup from the LB API's release_group.date. Card now displays the 4-digit year extracted via extractYear() instead of the release type.
This commit is contained in:
@@ -1212,7 +1212,7 @@ export class ExploreArtistDetails extends LitElement {
|
||||
${rg.title}
|
||||
</div>
|
||||
<div class="top-release-meta">
|
||||
${rg.type ? html`<span>${rg.type}</span>` : nothing}
|
||||
${rg.date ? html`<span>${extractYear(rg.date)}</span>` : nothing}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user