user highlight
This commit is contained in:
parent
eb7cff467e
commit
bc97016ea3
7 changed files with 28 additions and 34 deletions
|
|
@ -605,7 +605,8 @@ export const useSyncConfigStore = defineStore('sync_config', {
|
|||
this.raw.prefsStorage._journal = []
|
||||
this.pushSyncConfig()
|
||||
},
|
||||
setSyncConfig(userData) {
|
||||
initSyncConfig(userData) {
|
||||
console.log(userData)
|
||||
const live = userData.storage
|
||||
this.raw = live
|
||||
let cache = this.cache
|
||||
|
|
@ -682,7 +683,7 @@ export const useSyncConfigStore = defineStore('sync_config', {
|
|||
window.vuex.state.api.backendInteractor
|
||||
.updateProfileJSON({ params })
|
||||
.then((user) => {
|
||||
this.setSyncConfig(user)
|
||||
this.initSyncConfig(user)
|
||||
this.dirty = false
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue