diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/SettingToggle.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/SettingToggle.vue b/src/components/SettingToggle.vue index 94655bc..864a497 100644 --- a/src/components/SettingToggle.vue +++ b/src/components/SettingToggle.vue | |||
@@ -1,7 +1,6 @@ | |||
1 | <template> | 1 | <template> |
2 | <a v-on:click="toggleSetting()" class="navbar-item is-inline-block-mobile"> | 2 | <a v-on:click="toggleSetting()" class="navbar-item is-inline-block-mobile"> |
3 | <span v-show="value"><i :class="['fas', icon]"></i></span> | 3 | <span><i :class="['fas', value ? icon : iconAlt]"></i></span> |
4 | <span v-show="!value"><i :class="['fas', iconAlt]"></i></span> | ||
5 | <slot></slot> | 4 | <slot></slot> |
6 | </a> | 5 | </a> |
7 | </template> | 6 | </template> |