]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/components/SettingToggle.vue
Avoid hidding all info when copy pasting the exemple config
[github/bastienwirtz/homer.git] / src / components / SettingToggle.vue
index 6c8a10fa87a455accd9d25abbf5570a389fc4ca0..efa7caa89e06142f8ebe8ce13422221fcd48ce54 100644 (file)
@@ -1,5 +1,8 @@
 <template>
-  <a v-on:click="toggleSetting()" class="navbar-item is-inline-block-mobile">
+  <a
+    @click.prevent="toggleSetting()"
+    class="navbar-item is-inline-block-mobile"
+  >
     <span><i :class="['fas', 'fa-fw', value ? icon : secondaryIcon]"></i></span>
     <slot></slot>
   </a>