mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-13 08:12:52 +02:00
Support for libraries and folder mapping, updating static cover path, detect reader.txt
This commit is contained in:
@@ -20,9 +20,11 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
// asyncData({ redirect }) {
|
||||
// redirect('/library')
|
||||
// },
|
||||
asyncData({ redirect, store }) {
|
||||
var currentLibraryId = store.state.libraries.currentLibraryId
|
||||
console.log('Redir', currentLibraryId)
|
||||
redirect(`/library/${currentLibraryId}`)
|
||||
},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user