lint fix
This commit is contained in:
parent
2ebc06e30f
commit
f8e17cbdc5
|
@ -12,9 +12,9 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
headingStyle () {
|
headingStyle () {
|
||||||
const color = this.$store.state.config.customTheme.colors ?
|
const color = this.$store.state.config.customTheme.colors
|
||||||
this.$store.state.config.customTheme.colors.bg : // v2
|
? this.$store.state.config.customTheme.colors.bg // v2
|
||||||
this.$store.state.config.colors.bg // v1
|
: this.$store.state.config.colors.bg // v1
|
||||||
|
|
||||||
if (color) {
|
if (color) {
|
||||||
const rgb = (typeof color === 'string') ? hex2rgb(color) : color
|
const rgb = (typeof color === 'string') ? hex2rgb(color) : color
|
||||||
|
|
Loading…
Reference in New Issue