From 8b222435e633d8f23421843d4e13c6c7a9e2eb56 Mon Sep 17 00:00:00 2001 From: advplyr Date: Fri, 8 Dec 2023 16:10:57 -0600 Subject: [PATCH] Fix:Load local settings before attempting server connection #976 --- layouts/default.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/default.vue b/layouts/default.vue index 3b09e8b1..c0643123 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -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')