feat(components): show coAuthor in story info (if any)

This commit is contained in:
parent 83c1379ba6
commit d2b4476b43
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -11,6 +11,9 @@
<a-descriptions :label-style="{ fontWeight: 'bold' }" :colon="false" :column="1"> <a-descriptions :label-style="{ fontWeight: 'bold' }" :colon="false" :column="1">
<a-descriptions-item label="Author"> <a-descriptions-item label="Author">
<nuxt-link :to="`/user/${story?.author._id}`">{{ story?.author.username }}</nuxt-link> <nuxt-link :to="`/user/${story?.author._id}`">{{ story?.author.username }}</nuxt-link>
<span v-if="story.coAuthor">
& &nbsp;<nuxt-link :to="`/user/${story.coAuthor._id}`">{{ story.coAuthor.username }}</nuxt-link>
</span>
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="Bands"> <a-descriptions-item label="Bands">
<div class="wrapLong" v-for="(item, index) in story?.currentChapter.bands"> <div class="wrapLong" v-for="(item, index) in story?.currentChapter.bands">