mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-28 06:14:00 +02:00
Update:Handle navigating to library item pages when server connection goes down
- Added loading indicator to library item page on initial request to server - Redirect to downloaded item page if server item request fails
This commit is contained in:
@@ -331,6 +331,10 @@ export default {
|
||||
this.initListeners()
|
||||
console.log(`[categories] mounted so fetching categories`)
|
||||
this.fetchCategories()
|
||||
|
||||
if (this.$route.query.error) {
|
||||
this.$toast.error(this.$route.query.error)
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.removeListeners()
|
||||
|
||||
Reference in New Issue
Block a user