diff options
Diffstat (limited to 'src/components/opacity_input')
| -rw-r--r-- | src/components/opacity_input/opacity_input.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/opacity_input/opacity_input.vue b/src/components/opacity_input/opacity_input.vue index cfda9926..3cc3942b 100644 --- a/src/components/opacity_input/opacity_input.vue +++ b/src/components/opacity_input/opacity_input.vue @@ -13,8 +13,8 @@ v-if="typeof fallback !== 'undefined'" :checked="present" :disabled="disabled" - @change="$emit('input', !present ? fallback : undefined)" class="opt" + @change="$emit('input', !present ? fallback : undefined)" /> <input :id="name" @@ -33,12 +33,12 @@ <script> import Checkbox from '../checkbox/checkbox.vue' export default { - props: [ - 'name', 'value', 'fallback', 'disabled' - ], components: { Checkbox }, + props: [ + 'name', 'value', 'fallback', 'disabled' + ], computed: { present () { return typeof this.value !== 'undefined' |
