Merge pull request #813 from casrou/master

Add missing space for authors as well #777
This commit is contained in:
advplyr
2023-07-26 18:02:38 -05:00
committed by GitHub
+1 -1
View File
@@ -69,7 +69,7 @@
<div v-else-if="bookAuthors && bookAuthors.length" class="text-sm">
<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>
<span :key="`${author.id}-comma`" v-if="index < bookAuthors.length - 1">,</span>
<span :key="`${author.id}-comma`" v-if="index < bookAuthors.length - 1">,&nbsp;</span>
</template>
</div>