fixed frame colors bug

This commit is contained in:
mateusppereira
2019-10-25 14:56:24 -03:00
parent 2ac8a45446
commit 2f13546b8b
3 changed files with 10 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
<template>
<fieldset :id="label.toLowerCase()" :class="{ 'no-colored-frames': noFrameColors }">
<fieldset :id="label.toLowerCase()" :class="{ 'no-colored-frames': !frameColorsEnabled }">
<legend @click.prevent="collapse">
<i class="material-icons icon">{{ icon }}</i>
<span>{{ label }}</span>
@@ -24,8 +24,8 @@
<script>
export default {
computed: {
noFrameColors() {
return this.$store.state.postwoman.settings.DISABLE_FRAME_COLORS || false;
frameColorsEnabled() {
return this.$store.state.postwoman.settings.FRAME_COLORS_ENABLED || false;
}
},