some fixes
This commit is contained in:
parent
7a8cdf483b
commit
80f78edbf3
4 changed files with 157 additions and 72 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue