Various fixes to resolve warnings
Removed redundant function for playlists (Handling large descriptions needs to be done, either through keeping how its currently done or using a model popup)
This commit is contained in:
parent
3f51b05a1a
commit
90d2d5d74e
4 changed files with 50 additions and 62 deletions
|
@ -140,9 +140,10 @@
|
|||
}
|
||||
},
|
||||
async getBadges() {
|
||||
let self = this
|
||||
if (this.badges[this.item.attributes.playParams.id ?? this.item.id]) {
|
||||
let friends = this.badges[this.item.attributes.playParams.id ?? this.item.id]
|
||||
const self = this
|
||||
const id = (this.item.attributes.playParams ? this.item.attributes.playParams.id : null) || this.item.id
|
||||
if (id && this.badges[id]) {
|
||||
let friends = this.badges[id]
|
||||
if (friends) {
|
||||
friends.forEach(function (friend) {
|
||||
self.app.mk.api.socialProfile(friend).then(data => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue