From 3492d7f81ec3f99c4f15f9ab75f658b3d1db7799 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 12 Jan 2020 17:59:41 +0200 Subject: [PATCH] eslint --- src/components/color_input/color_input.vue | 8 ++++---- src/components/opacity_input/opacity_input.vue | 8 ++++---- src/components/settings/settings.vue | 4 ++-- src/components/style_switcher/style_switcher.vue | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/color_input/color_input.vue b/src/components/color_input/color_input.vue index 7fe04433..e54409fe 100644 --- a/src/components/color_input/color_input.vue +++ b/src/components/color_input/color_input.vue @@ -13,8 +13,8 @@ v-if="typeof fallback !== 'undefined' && showOptionalTickbox" :checked="present" :disabled="disabled" - @change="$emit('input', typeof value === 'undefined' ? fallback : undefined)" class="opt" + @change="$emit('input', typeof value === 'undefined' ? fallback : undefined)" />
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' diff --git a/src/components/settings/settings.vue b/src/components/settings/settings.vue index b40c85dd..e118dbcc 100644 --- a/src/components/settings/settings.vue +++ b/src/components/settings/settings.vue @@ -76,9 +76,9 @@
  • {{ $t('settings.useStreamingApi') }} -
    +
    - {{ $t('settings.useStreamingApiWarning') }} + {{ $t('settings.useStreamingApiWarning') }}
  • diff --git a/src/components/style_switcher/style_switcher.vue b/src/components/style_switcher/style_switcher.vue index b059eb8a..ff6a8264 100644 --- a/src/components/style_switcher/style_switcher.vue +++ b/src/components/style_switcher/style_switcher.vue @@ -119,14 +119,14 @@ name="accentColor" :fallback="previewTheme.colors.link" :label="$t('settings.accent')" - :showOptionalTickbox="typeof linkColorLocal !== 'undefined'" + :show-optional-tickbox="typeof linkColorLocal !== 'undefined'" />
    @@ -388,7 +388,7 @@ v-model="underlayColorLocal" name="underlay" :label="$t('settings.style.advanced_colors.underlay')" - fallback='#000000' + fallback="#000000" />