mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-30 15:17:14 +02:00
Update:Add switch server/user button in side drawer and change button text on account page. Update logout to disconnect #628
This commit is contained in:
@@ -332,6 +332,12 @@ export default {
|
||||
},
|
||||
async init() {
|
||||
if (this.isFirstInit) return
|
||||
if (!this.user) {
|
||||
// Offline support not available
|
||||
await this.resetEntities()
|
||||
this.$eventBus.$emit('bookshelf-total-entities', 0)
|
||||
return
|
||||
}
|
||||
|
||||
this.localLibraryItems = await this.$db.getLocalLibraryItems(this.currentLibraryMediaType)
|
||||
console.log('Local library items loaded for lazy bookshelf', this.localLibraryItems.length)
|
||||
|
||||
Reference in New Issue
Block a user