Skip to content

Commit c3d6f42

Browse files
authored
UI fix Theme text color not bind navTextColorPick and reset button (#6721)
UI fix Theme text color not bind navTextColorPick fix #6720
1 parent fa34d68 commit c3d6f42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/src/components/view/Setting.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<a-input
7171
:disabled="layoutMode === 'dark'"
7272
type="color"
73-
v-model:value="navBgColorPick"
73+
v-model:value="navTextColorPick"
7474
@blur="(e) => updateSetting('@navigation-text-color', e.target.value)" />
7575
</div>
7676
</div>
@@ -254,6 +254,7 @@ export default {
254254
this.downloadObjectAsJson(this.uiSettings)
255255
},
256256
resetSetting () {
257+
this.uiSettings = {}
257258
this.layoutMode = 'light'
258259
this.colorPick = this.originalSetting['@primary-color']
259260
this.navBgColorPick = this.originalSetting['@navigation-background-color']

0 commit comments

Comments
 (0)