Merge pull request #326 from MartinCa/master

Fix: Series link from search goes straight to series
This commit is contained in:
advplyr 2022-01-22 09:13:47 -06:00 committed by GitHub
commit 28b5e3919f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@
<p v-if="seriesResults.length" class="uppercase text-xs text-gray-400 mb-1 mt-3 px-1 font-semibold">Series</p> <p v-if="seriesResults.length" class="uppercase text-xs text-gray-400 mb-1 mt-3 px-1 font-semibold">Series</p>
<template v-for="item in seriesResults"> <template v-for="item in seriesResults">
<li :key="item.series" class="text-gray-50 select-none relative cursor-pointer hover:bg-black-400 py-1" role="option"> <li :key="item.series" class="text-gray-50 select-none relative cursor-pointer hover:bg-black-400 py-1" role="option">
<nuxt-link :to="`/library/${currentLibraryId}/bookshelf/series?series=${$encode(item.series)}`"> <nuxt-link :to="`/library/${currentLibraryId}/series/${$encode(item.series)}`">
<cards-series-search-card :series="item.series" :book-items="item.audiobooks" /> <cards-series-search-card :series="item.series" :book-items="item.audiobooks" />
</nuxt-link> </nuxt-link>
</li> </li>