mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI fix Theme text color not bind navTextColorPick and reset button (#6721)
UI fix Theme text color not bind navTextColorPick fix #6720
This commit is contained in:
parent
fa34d68766
commit
c3d6f42dd9
@ -70,7 +70,7 @@
|
|||||||
<a-input
|
<a-input
|
||||||
:disabled="layoutMode === 'dark'"
|
:disabled="layoutMode === 'dark'"
|
||||||
type="color"
|
type="color"
|
||||||
v-model:value="navBgColorPick"
|
v-model:value="navTextColorPick"
|
||||||
@blur="(e) => updateSetting('@navigation-text-color', e.target.value)" />
|
@blur="(e) => updateSetting('@navigation-text-color', e.target.value)" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -254,6 +254,7 @@ export default {
|
|||||||
this.downloadObjectAsJson(this.uiSettings)
|
this.downloadObjectAsJson(this.uiSettings)
|
||||||
},
|
},
|
||||||
resetSetting () {
|
resetSetting () {
|
||||||
|
this.uiSettings = {}
|
||||||
this.layoutMode = 'light'
|
this.layoutMode = 'light'
|
||||||
this.colorPick = this.originalSetting['@primary-color']
|
this.colorPick = this.originalSetting['@primary-color']
|
||||||
this.navBgColorPick = this.originalSetting['@navigation-background-color']
|
this.navBgColorPick = this.originalSetting['@navigation-background-color']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user