Explorar o código

fix: fixed issue with removing double digits behind Discogs artists

Kristian Vos %!s(int64=5) %!d(string=hai) anos
pai
achega
36b7f21a94
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontend/components/Modals/EditSong.vue

+ 1 - 1
frontend/components/Modals/EditSong.vue

@@ -761,7 +761,7 @@ export default {
 					.then(data => {
 						apiResult.album.artists = [];
 						apiResult.album.artistIds = [];
-						const artistRegex = new RegExp(" \\([0-9]\\)$");
+						const artistRegex = new RegExp(" \\([0-9]+\\)$");
 
 						apiResult.dataQuality = data.data_quality;
 						data.artists.forEach(artist => {