#52 - Afficher toute les infos du format d'un album

This commit is contained in:
Damien Broqua 2022-08-30 15:30:16 +02:00
parent adea857666
commit b8b3df2932

View file

@ -74,6 +74,9 @@
<ul class="ml-4"> <ul class="ml-4">
<li v-for="(format) in item.formats"> <li v-for="(format) in item.formats">
{{format.name}} {{format.name}}
<template v-if="format.text">
- <i>{{format.text}}</i>
</template>
<template v-if="format.descriptions && format.descriptions.length > 0"> <template v-if="format.descriptions && format.descriptions.length > 0">
(<span v-for="(description, index) in format.descriptions"> (<span v-for="(description, index) in format.descriptions">
{{description}}<template v-if="index < format.descriptions.length - 1">, </template> {{description}}<template v-if="index < format.descriptions.length - 1">, </template>