diff --git a/src/renderer/index.js b/src/renderer/index.js index 77aad13e..aece077d 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -1575,10 +1575,10 @@ const app = new Vue({ //this.getTypeFromID("artist",id,isLibrary,query) }, followArtistById(id, follow) { - if (follow && !this.followingArist(id)) { + if (follow && !this.followingArtist(id)) { this.cfg.home.followedArtists.push(id) } else { - let index = this.cfg.home.followedArtists.indexOf(this.item.id) + let index = this.cfg.home.followedArtists.indexOf(id) if (index > -1) { this.cfg.home.followedArtists.splice(index, 1) } diff --git a/src/renderer/views/components/artist-chip.ejs b/src/renderer/views/components/artist-chip.ejs index 8a8a7c21..c6b60ee0 100644 --- a/src/renderer/views/components/artist-chip.ejs +++ b/src/renderer/views/components/artist-chip.ejs @@ -6,8 +6,8 @@