Browse Source

fix: fixed issue with removing double digits behind Discogs artists

Kristian Vos 5 years ago
parent
commit
36b7f21a94
1 changed files with 1 additions and 1 deletions
  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 => {