From c3d6f42dd9d2acf9ae85fa42c5532225c2c232b4 Mon Sep 17 00:00:00 2001 From: hooklee2000 <52850777+hooklee2000@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:26:58 +0800 Subject: [PATCH] UI fix Theme text color not bind navTextColorPick and reset button (#6721) UI fix Theme text color not bind navTextColorPick fix #6720 --- ui/src/components/view/Setting.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/view/Setting.vue b/ui/src/components/view/Setting.vue index fe612ecf271..4987a0bd612 100644 --- a/ui/src/components/view/Setting.vue +++ b/ui/src/components/view/Setting.vue @@ -70,7 +70,7 @@ @@ -254,6 +254,7 @@ export default { this.downloadObjectAsJson(this.uiSettings) }, resetSetting () { + this.uiSettings = {} this.layoutMode = 'light' this.colorPick = this.originalSetting['@primary-color'] this.navBgColorPick = this.originalSetting['@navigation-background-color']