fix: don't double-pluralize Albums/Other Albums section headers
This commit is contained in:
@@ -828,7 +828,7 @@ export class ExploreArtistDetails extends LitElement {
|
|||||||
(g) => html`
|
(g) => html`
|
||||||
<div class="disco-group">
|
<div class="disco-group">
|
||||||
<h4 class="disco-type-header">
|
<h4 class="disco-type-header">
|
||||||
${g.type === 'Other' ? 'Other Releases' : `${g.type}s`}
|
${g.type === 'Other' ? 'Other Releases' : g.type.endsWith('s') ? g.type : `${g.type}s`}
|
||||||
</h4>
|
</h4>
|
||||||
<div class="album-grid">
|
<div class="album-grid">
|
||||||
${g.items.map((rg) => this.renderAlbumCard(rg))}
|
${g.items.map((rg) => this.renderAlbumCard(rg))}
|
||||||
|
|||||||
Reference in New Issue
Block a user