hide label variant ()
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
David 2022-04-03 12:29:24 -04:00
parent 5f766a0efb
commit a38fdaef91
1 changed files with 3 additions and 2 deletions

View File

@ -69,6 +69,7 @@ function apiResponseParsing(record) {
record.artists = record.artists.map((artist) => {
return artist.replace(/ \([0-9]+\)$/, "");
});
record.label = record.label.replace(/ \([0-9]+\)$/, "");
record.sortArtist = record.artists.reduce((acc, curr) => {
return (
acc +
@ -133,14 +134,14 @@ function RecordTemplate({
<span>${identifier}</span><br/>
<span>${genre}, ${label}, ${year}</span><br/>
<span>${format}</span>
<div>
<span>
<a
target="_blank"
href="${discogsURL}"
>
Data provided by Discogs.
</a>
</div>`;
</span>`;
}
function TableRowTemplate({