mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-05 02:25:45 +02:00
Fix:Load local settings before attempting server connection #976
This commit is contained in:
parent
fdd251ec2c
commit
8b222435e6
1 changed files with 2 additions and 1 deletions
|
@ -318,6 +318,8 @@ export default {
|
|||
if (this.$store.state.isFirstLoad) {
|
||||
this.$store.commit('setIsFirstLoad', false)
|
||||
|
||||
this.loadSavedSettings()
|
||||
|
||||
const deviceData = await this.$db.getDeviceData()
|
||||
this.$store.commit('setDeviceData', deviceData)
|
||||
|
||||
|
@ -336,7 +338,6 @@ export default {
|
|||
console.log(`[default] finished connection attempt or already connected ${!!this.user}`)
|
||||
await this.syncLocalSessions()
|
||||
|
||||
this.loadSavedSettings()
|
||||
this.hasMounted = true
|
||||
|
||||
console.log('[default] fully initialized')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue