aboutsummaryrefslogtreecommitdiff
path: root/src/components/shadow_control
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-09-12 16:10:39 +0300
committerHenry Jameson <me@hjkos.com>2024-09-12 16:10:39 +0300
commit2b9968eacd6f45dc5ad39796f1b2f488e2a22cbb (patch)
tree4f3c4e19253032fb377a6b1dd90e963e05bd5610 /src/components/shadow_control
parenta044dc377e77aade4696984fb42f7aa5db8c2561 (diff)
lint
Diffstat (limited to 'src/components/shadow_control')
-rw-r--r--src/components/shadow_control/shadow_control.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue
index 77d7c15a..b867d6e0 100644
--- a/src/components/shadow_control/shadow_control.vue
+++ b/src/components/shadow_control/shadow_control.vue
@@ -60,21 +60,20 @@
>
{{ $t('settings.style.shadows.light_grid') }}
</Checkbox>
-
</div>
<div class="shadow-switcher">
<Select
- class="shadow-list"
id="shadow-list"
v-model="selectedId"
+ class="shadow-list"
size="10"
:disabled="!ready || usingFallback"
>
<option
v-for="(shadow, index) in cValue"
+ :key="index"
:value="index"
:class="{ '-active': index === Number(selectedId) }"
- :key="index"
>
{{ shadow.name ?? $t('settings.style.shadows.shadow_id', { value: index }) }}
</option>