mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-07 04:18:48 +02:00
Fix:Remove last saved library id when changing servers so home page shelves load on init
This commit is contained in:
@@ -51,7 +51,7 @@ export default {
|
||||
async clickedOption(lib) {
|
||||
this.show = false
|
||||
await this.$store.dispatch('libraries/fetch', lib.id)
|
||||
this.$eventBus.$emit('library-changed', lib.id)
|
||||
this.$eventBus.$emit('library-changed')
|
||||
this.$localStore.setLastLibraryId(lib.id)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user