fix theme tab
This commit is contained in:
parent
dfb376cbd4
commit
ecefbac4ec
2 changed files with 1 additions and 4 deletions
|
@ -757,9 +757,6 @@ export default {
|
|||
},
|
||||
selectedTheme () {
|
||||
this.dismissWarning()
|
||||
if (Object.prototype.toString.call(this.selected) === '[object String]') {
|
||||
this.selected = JSON.parse(this.selected)
|
||||
}
|
||||
if (this.selectedVersion === 1) {
|
||||
if (!this.keepRoundness) {
|
||||
this.clearRoundness()
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
<option
|
||||
v-for="style in availableStyles"
|
||||
:key="style.name"
|
||||
:value="JSON.stringify(style)"
|
||||
:value="style.name || style[0]"
|
||||
:style="{
|
||||
backgroundColor: style[1] || (style.theme || style.source).colors.bg,
|
||||
color: style[3] || (style.theme || style.source).colors.text
|
||||
|
|
Loading…
Reference in a new issue