From 820ae9a8316120aa6753b1404722211dd09aeb7e Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Tue, 18 Jul 2023 11:49:10 +0300 Subject: [PATCH] fix: config update --- static/js/market.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/market.js b/static/js/market.js index 694d6ab..c185fd6 100644 --- a/static/js/market.js +++ b/static/js/market.js @@ -352,7 +352,7 @@ const market = async () => { async updateUiConfig(updateData) { console.log('### updateUiConfig', updateData) const { name, about, ui } = updateData - this.config.opts = { ...this.config, opts: { ...this.config.opts, name, about, ui } } + this.config = { ...this.config, opts: { ...this.config.opts, name, about, ui } } this.applyUiConfigs(this.config) this.$q.localStorage.set('nostrmarket.marketplace-config', { name, about, ui })