aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/user_card_content/user_card_content.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/user_card_content/user_card_content.js b/src/components/user_card_content/user_card_content.js
index e7ca21c7..254d1666 100644
--- a/src/components/user_card_content/user_card_content.js
+++ b/src/components/user_card_content/user_card_content.js
@@ -12,9 +12,9 @@ export default {
},
computed: {
headingStyle () {
- const color = this.$store.state.config.customTheme.colors ?
- this.$store.state.config.customTheme.colors.bg : // v2
- this.$store.state.config.colors.bg // v1
+ const color = this.$store.state.config.customTheme.colors
+ ? this.$store.state.config.customTheme.colors.bg // v2
+ : this.$store.state.config.colors.bg // v1
if (color) {
const rgb = (typeof color === 'string') ? hex2rgb(color) : color