moved artist page to cider-artist component

This commit is contained in:
booploops 2021-12-08 01:22:17 -08:00
parent 0b5389a528
commit 60ee14c6f9
3 changed files with 67 additions and 43 deletions

View file

@ -79,7 +79,6 @@ const app = new Vue({
showingPlaylist: [],
artistPage: {
data: {},
topSongsExpanded: false
},
library: {
downloadNotification: {
@ -319,19 +318,6 @@ const app = new Vue({
return "";
}
},
getArtistPalette(artist) {
if (artist["attributes"]["artwork"]) {
return {
"background": "#" + artist["attributes"]["artwork"]["bgColor"],
"color": "#" + artist["attributes"]["artwork"]["textColor1"],
}
} else {
return {
"background": "#000000",
"color": "#ffffff",
}
}
},
routeView(item) {
let self = this
app.showingPlaylist = [];