mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-09 05:18:40 +02:00
Add:Lazy bookshelf
This commit is contained in:
@@ -53,10 +53,8 @@ export default {
|
||||
methods: {
|
||||
async clickedOption(lib) {
|
||||
this.show = false
|
||||
|
||||
this.$store.commit('libraries/setCurrentLibrary', lib.id)
|
||||
await this.$store.dispatch('audiobooks/load')
|
||||
|
||||
await this.$store.dispatch('libraries/fetch', lib.id)
|
||||
this.$eventBus.$emit('library-changed', lib.id)
|
||||
this.$localStore.setCurrentLibrary(lib)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user