fix: dark mode

This commit is contained in:
Vlad Stan 2023-07-18 10:01:52 +03:00
parent d8721a0785
commit c366d571ef
2 changed files with 15 additions and 6 deletions

View file

@ -89,10 +89,12 @@ async function marketConfig(path) {
}
},
created: async function () {
console.log('### this.configData', this.configData)
console.log('### this.configUi', this.configUi)
if (this.configUi) {
this.configData = { ...this.configData, ...this.configUi }
this.configData = { ...this.configData, ...this.configUi, ui: { ...this.configData.ui, ...(this.configUi.ui || {}) } }
}
console.log('### this.configData', this.configData)
}
})