diff --git a/frontend/files/records/app.js b/frontend/files/records/app.js index fa02c61..a18b567 100644 --- a/frontend/files/records/app.js +++ b/frontend/files/records/app.js @@ -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({ ${identifier}
${genre}, ${label}, ${year}
${format} -
+ Data provided by Discogs. -
`; + `; } function TableRowTemplate({