mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-28 22:08:47 +02:00
Fix separator between authors
This patch fixes a small problem with the separator between several authors which is `Author A , Author B`, but should be instead `Author A, Author B` like with the other metadata fields.
This commit is contained in:
parent
cbdc3513c7
commit
77f70e48de
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@
|
||||||
<div v-if="podcastAuthor" class="text-sm">{{ podcastAuthor }}</div>
|
<div v-if="podcastAuthor" class="text-sm">{{ podcastAuthor }}</div>
|
||||||
<div v-else-if="bookAuthors && bookAuthors.length" class="text-sm">
|
<div v-else-if="bookAuthors && bookAuthors.length" class="text-sm">
|
||||||
<template v-for="(author, index) in bookAuthors">
|
<template v-for="(author, index) in bookAuthors">
|
||||||
<nuxt-link :key="author.id" :to="`/bookshelf/library?filter=authors.${$encode(author.id)}`" class="underline">{{ author.name }}</nuxt-link>
|
<nuxt-link :key="author.id" :to="`/bookshelf/library?filter=authors.${$encode(author.id)}`" class="underline">{{ author.name }}</nuxt-link
|
||||||
<span :key="`${author.id}-comma`" v-if="index < bookAuthors.length - 1">, </span>
|
><span :key="`${author.id}-comma`" v-if="index < bookAuthors.length - 1">, </span>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue