fixed some menus
This commit is contained in:
parent
0adeb0f7a5
commit
5e19de0d83
2 changed files with 3 additions and 6 deletions
|
@ -159,7 +159,6 @@
|
||||||
followAction = "unfollow"
|
followAction = "unfollow"
|
||||||
}
|
}
|
||||||
app.showMenuPanel({
|
app.showMenuPanel({
|
||||||
name: self.data.attributes.name,
|
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
icon: "./assets/feather/play.svg",
|
icon: "./assets/feather/play.svg",
|
||||||
|
@ -179,7 +178,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})
|
}, event)
|
||||||
},
|
},
|
||||||
getArtistPalette(artist) {
|
getArtistPalette(artist) {
|
||||||
if (artist["attributes"]["artwork"]) {
|
if (artist["attributes"]["artwork"]) {
|
||||||
|
|
|
@ -319,10 +319,8 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
menu() {
|
menu(event) {
|
||||||
app.showMenuPanel({
|
app.showMenuPanel({
|
||||||
name: this.data.attributes ? (this.data.attributes.name ??
|
|
||||||
(this.data.attributes.title ?? '') ?? '') : '',
|
|
||||||
items: {
|
items: {
|
||||||
"share": {
|
"share": {
|
||||||
name: "Share",
|
name: "Share",
|
||||||
|
@ -353,7 +351,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
}, event)
|
||||||
},
|
},
|
||||||
getItemParent: function (data) {
|
getItemParent: function (data) {
|
||||||
kind = data.attributes.playParams.kind;
|
kind = data.attributes.playParams.kind;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue