diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-07-12 22:26:45 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-07-12 22:26:45 +0200 |
commit | a46bede230afd80b3fbf562f4d5d7491155e3835 (patch) | |
tree | 3cc8a0e12b76c0ef906bce5fc8adcccc640d68aa /src/components/SettingToggle.vue | |
parent | eb030922866f1e753162d99ea6b25a4f4e941b05 (diff) | |
download | homer-a46bede230afd80b3fbf562f4d5d7491155e3835.tar.gz homer-a46bede230afd80b3fbf562f4d5d7491155e3835.tar.zst homer-a46bede230afd80b3fbf562f4d5d7491155e3835.zip |
Small fixes
Diffstat (limited to 'src/components/SettingToggle.vue')
-rw-r--r-- | src/components/SettingToggle.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/SettingToggle.vue b/src/components/SettingToggle.vue index 6c8a10f..efa7caa 100644 --- a/src/components/SettingToggle.vue +++ b/src/components/SettingToggle.vue | |||
@@ -1,5 +1,8 @@ | |||
1 | <template> | 1 | <template> |
2 | <a v-on:click="toggleSetting()" class="navbar-item is-inline-block-mobile"> | 2 | <a |
3 | @click.prevent="toggleSetting()" | ||
4 | class="navbar-item is-inline-block-mobile" | ||
5 | > | ||
3 | <span><i :class="['fas', 'fa-fw', value ? icon : secondaryIcon]"></i></span> | 6 | <span><i :class="['fas', 'fa-fw', value ? icon : secondaryIcon]"></i></span> |
4 | <slot></slot> | 7 | <slot></slot> |
5 | </a> | 8 | </a> |