Skip to content

Commit bf4e905

Browse files
committed
Merge remote-tracking branch 'apache/4.17' into main
2 parents 1465673 + c3d6f42 commit bf4e905

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)