fixed some menus

This commit is contained in:
booploops 2022-01-13 03:53:27 -08:00
parent 0adeb0f7a5
commit 5e19de0d83
2 changed files with 3 additions and 6 deletions

View file

@ -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"]) {

View file

@ -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;