add lyrics & fix playlists

This commit is contained in:
vapormusic 2022-04-12 22:34:09 +07:00
parent a5f73117fb
commit 09b4c9fe97
4 changed files with 82 additions and 10 deletions

View file

@ -55,7 +55,7 @@
{{getArtistName(data)}}
</div>
<template v-if="useArtistChip">
<artist-chip v-for="artist in data.relationships.artists.data"
<artist-chip v-for="artist in data.relationships.artists?.data"
:item="artist"></artist-chip>
</template>
<div class="playlist-desc" v-if="(data.attributes.description && (data.attributes.description.standard || data.attributes.description.short)) || (data.attributes.editorialNotes && (data.attributes.editorialNotes.standard || data.attributes.editorialNotes.short))">