From 80f78edbf3bd47a41637824c66436dad33011b5a Mon Sep 17 00:00:00 2001 From: booploops <49113086+booploops@users.noreply.github.com> Date: Thu, 24 Feb 2022 04:58:32 -0800 Subject: [PATCH] some fixes --- src/renderer/index.js | 4 +- src/renderer/views/components/artist-chip.ejs | 4 +- src/renderer/views/pages/cider-playlist.ejs | 176 ++++++++++++------ src/renderer/views/pages/playlist-inline.ejs | 45 ++++- 4 files changed, 157 insertions(+), 72 deletions(-) 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 @@