chore: Prettified Code
[ci skip]
This commit is contained in:
parent
5d658ed990
commit
ac4a229f4a
2 changed files with 6 additions and 7 deletions
|
@ -121,7 +121,7 @@ const MusicKitInterop = {
|
|||
return primaryArtist;
|
||||
|
||||
case "album":
|
||||
return albumData[0]
|
||||
return albumData[0];
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -2155,8 +2155,7 @@ const app = new Vue({
|
|||
} else {
|
||||
app.playMediaItemById(id, kind, isLibrary, item.attributes.url ?? "");
|
||||
}
|
||||
})
|
||||
|
||||
});
|
||||
} else {
|
||||
app.playMediaItemById(id, kind, isLibrary, item.attributes.url ?? "");
|
||||
}
|
||||
|
@ -4554,7 +4553,7 @@ const app = new Vue({
|
|||
if (app.mk.nowPlayingItem.relationships.artists.data[0].id) {
|
||||
app.appRoute(`artist/${app.mk.nowPlayingItem.relationships.artists.data[0].id}`);
|
||||
} else {
|
||||
const primaryArtist = await MusicKitInterop.fetchSongRelationships({ relationship: "primaryArtist"})
|
||||
const primaryArtist = await MusicKitInterop.fetchSongRelationships({ relationship: "primaryArtist" });
|
||||
app.appRoute(`artist/${primaryArtist.id}`);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue