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"
|
||||
}
|
||||
app.showMenuPanel({
|
||||
name: self.data.attributes.name,
|
||||
items: [
|
||||
{
|
||||
icon: "./assets/feather/play.svg",
|
||||
|
@ -179,7 +178,7 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
}, event)
|
||||
},
|
||||
getArtistPalette(artist) {
|
||||
if (artist["attributes"]["artwork"]) {
|
||||
|
|
|
@ -319,10 +319,8 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
menu() {
|
||||
menu(event) {
|
||||
app.showMenuPanel({
|
||||
name: this.data.attributes ? (this.data.attributes.name ??
|
||||
(this.data.attributes.title ?? '') ?? '') : '',
|
||||
items: {
|
||||
"share": {
|
||||
name: "Share",
|
||||
|
@ -353,7 +351,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
}, event)
|
||||
},
|
||||
getItemParent: function (data) {
|
||||
kind = data.attributes.playParams.kind;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue