diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-07-13 13:46:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 13:46:03 -0700 |
commit | c11c45a661addf377ac5f4773ba39f5ef66ec155 (patch) | |
tree | 204cd561549dd6424d7e07c88b042e3bce62d608 /src/components/SettingToggle.vue | |
parent | d57821b5fa8b994bc4082f7565a072090ff288a1 (diff) | |
parent | 0eca982f8bc89bbac3ed4fee248fc53b7c4c0527 (diff) | |
download | homer-c11c45a661addf377ac5f4773ba39f5ef66ec155.tar.gz homer-c11c45a661addf377ac5f4773ba39f5ef66ec155.tar.zst homer-c11c45a661addf377ac5f4773ba39f5ef66ec155.zip |
Merge pull request #482 from bastienwirtz/vuejs-3
Vuejs 3
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> |