瀏覽代碼

fix: fixed issue with removing double digits behind Discogs artists

Kristian Vos 5 年之前
父節點
當前提交
36b7f21a94
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 => {