mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 10:14:36 +02:00
Fix:Authors page to only include library items from the current library #1049
This commit is contained in:
parent
94012e5dff
commit
793233e782
2 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
|||
<script>
|
||||
export default {
|
||||
async asyncData({ store, app, params, redirect }) {
|
||||
const author = await app.$axios.$get(`/api/authors/${params.id}?include=items,series`).catch((error) => {
|
||||
const author = await app.$axios.$get(`/api/authors/${params.id}?library=${store.state.libraries.currentLibraryId}&include=items,series`).catch((error) => {
|
||||
console.error('Failed to get author', error)
|
||||
return null
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue