From a38fdaef91d9f90c014c492355ff7b66dfbe5954 Mon Sep 17 00:00:00 2001 From: David Ashby Date: Sun, 3 Apr 2022 12:29:24 -0400 Subject: [PATCH] hide label variant () --- frontend/files/records/app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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({