Explorar el Código

fix: fixed issue with removing double digits behind Discogs artists

Kristian Vos hace 5 años
padre
commit
36b7f21a94
Se han modificado 1 ficheros con 1 adiciones y 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 => {