Fixed bug in format list

This commit is contained in:
Damien Broqua 2022-02-22 09:22:10 +01:00
parent cbfade1133
commit e10f249730

View file

@ -56,9 +56,12 @@
<strong>Format : </strong>
<span v-for="(format, index) in item.formats">
{{ format.name }}
(<template v-for="(description, j) in format.descriptions">
{{description}}<template v-if="j < format.descriptions.length - 1">, </template>
</template>)<template v-if="index < item.formats.length - 1">, </template>
<template v-if="format.descriptions">
(<template v-for="(description, j) in format.descriptions">
{{description}}<template v-if="j < format.descriptions.length - 1">, </template>
</template>)
</template>
<template v-if="index < item.formats.length - 1">, </template>
</span>
</span>
<br />