mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-03 01:24:37 +02:00
Fix:Continue listening shelves show on initial failed connection #1038
This commit is contained in:
parent
826d414d9f
commit
e15c1bcb32
2 changed files with 6 additions and 7 deletions
|
@ -327,14 +327,15 @@ export default {
|
|||
this.$eventBus.$off('library-changed', this.libraryChanged)
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.initListeners()
|
||||
console.log(`[categories] mounted so fetching categories`)
|
||||
this.fetchCategories()
|
||||
|
||||
async mounted() {
|
||||
if (this.$route.query.error) {
|
||||
this.$toast.error(this.$route.query.error)
|
||||
}
|
||||
|
||||
this.initListeners()
|
||||
await this.$store.dispatch('globals/loadLocalMediaProgress')
|
||||
console.log(`[categories] mounted so fetching categories`)
|
||||
this.fetchCategories()
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.removeListeners()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue