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`
|
||||
<div class="disco-group">
|
||||
<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>
|
||||
<div class="album-grid">
|
||||
${g.items.map((rg) => this.renderAlbumCard(rg))}
|
||||
|
||||
Reference in New Issue
Block a user