Fix:Series URL paths #217

This commit is contained in:
advplyr 2021-12-03 18:07:42 -06:00
parent 3e5ddf90ed
commit 87fbf4f1da
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ export default {
clickCard() {
if (!this.series) return
var router = this.$router || this.$nuxt.$router
router.push(`/library/${this.currentLibraryId}/bookshelf/series?series=${this.seriesId}`)
router.push(`/library/${this.currentLibraryId}/series/${this.seriesId}`)
},
imageLoaded() {
this.imageReady = true

View File

@ -23,7 +23,7 @@
by <nuxt-link v-for="(author, index) in authorsList" :key="index" :to="`/library/${libraryId}/bookshelf?filter=authors.${$encode(author)}`" class="hover:underline">{{ author }}<span v-if="index < authorsList.length - 1">,&nbsp;</span></nuxt-link>
</p>
<p v-else class="mb-2 mt-0.5 text-gray-200 text-xl">by Unknown</p>
<nuxt-link v-if="series" :to="`/library/${libraryId}/bookshelf/series?series=${$encode(series)}`" class="hover:underline font-sans text-gray-300 text-lg leading-7"> {{ seriesText }}</nuxt-link>
<nuxt-link v-if="series" :to="`/library/${libraryId}/series/${$encode(series)}`" class="hover:underline font-sans text-gray-300 text-lg leading-7"> {{ seriesText }}</nuxt-link>
<div v-if="narrator" class="flex py-0.5 mt-4">
<div class="w-32">