hide label variant ()
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
David 2022-04-03 12:29:24 -04:00
parent 5f766a0efb
commit a38fdaef91

View File

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