Skip to content

Commit

Permalink
Update item page series comma separated list to not include comma in …
Browse files Browse the repository at this point in the history
…link
  • Loading branch information
advplyr committed Apr 4, 2024
1 parent f56d9f1 commit 8a29c99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/pages/item/_id/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@

<p v-if="bookSubtitle" class="text-gray-200 text-xl md:text-2xl">{{ bookSubtitle }}</p>

<nuxt-link v-for="(_series, index) in seriesList" :key="_series.id" :to="`/library/${libraryId}/series/${_series.id}`" class="hover:underline font-sans text-gray-300 text-lg leading-7">
{{ _series.text
}}<span v-if="index < seriesList.length - 1">, </span>
</nuxt-link>
<template v-for="(_series, index) in seriesList">
<nuxt-link :key="_series.id" :to="`/library/${libraryId}/series/${_series.id}`" class="hover:underline font-sans text-gray-300 text-lg leading-7">{{ _series.text }}</nuxt-link
><span :key="index" v-if="index < seriesList.length - 1">, </span>
</template>

<template v-if="!isVideo">
<p v-if="isPodcast" class="mb-2 mt-0.5 text-gray-200 text-lg md:text-xl">by {{ podcastAuthor || 'Unknown' }}</p>
Expand Down

0 comments on commit 8a29c99

Please sign in to comment.