will now show multiple chips if there are multiple artists
This commit is contained in:
parent
ae9669c3f9
commit
6245f6e601
2 changed files with 13 additions and 9 deletions
|
@ -45,8 +45,10 @@
|
|||
@click="data.attributes && data.attributes.artistName ? app.searchAndNavigate(data,'artist') : ''">
|
||||
{{getArtistName(data)}}
|
||||
</div>
|
||||
<artist-chip v-if="useArtistChip"
|
||||
:item="data.relationships.artists.data[0]"></artist-chip>
|
||||
<template v-if="useArtistChip">
|
||||
<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)">
|
||||
<div v-if="data.attributes.description.short" class="content"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue