This commit is contained in:
parent
5f766a0efb
commit
a38fdaef91
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user