diff options
| author | Henry Jameson <me@hjkos.com> | 2020-01-20 01:45:48 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-01-20 01:45:48 +0200 |
| commit | a7b6c79136012353397203f937d2baa667d08895 (patch) | |
| tree | 0522a647ff9b524e863430aeb4f183f115a3996c /src | |
| parent | 2b36a62c5600738737e0fda4e0fc92e6e1f59c33 (diff) | |
eslint
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/shadow_control/shadow_control.vue | 2 | ||||
| -rw-r--r-- | src/components/style_switcher/style_switcher.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue index efbb980e..c1db5b8f 100644 --- a/src/components/shadow_control/shadow_control.vue +++ b/src/components/shadow_control/shadow_control.vue @@ -192,7 +192,7 @@ :disabled="!present" :label="$t('settings.style.common.color')" :fallback="currentFallback.color" - :showOptionalTickbox="false" + :show-optional-tickbox="false" name="shadow" /> <OpacityInput diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 2a1e439b..799646b1 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -202,8 +202,8 @@ export default { ...acc, ...textColors.reduce((acc, textColorKey) => { const newKey = slotIsBaseText - ? 'bg' + textColorKey[0].toUpperCase() + textColorKey.slice(1) - : textColorKey + ? 'bg' + textColorKey[0].toUpperCase() + textColorKey.slice(1) + : textColorKey return { ...acc, [newKey]: getContrastRatioLayers( |
