diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2021-02-25 10:56:16 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2021-02-25 10:56:16 +0200 |
| commit | 51a78e8b8a89065062d5b4c1b72d5bdd457d9663 (patch) | |
| tree | 2c49e14890028db5a7bbfd82d9013feca3df3fd9 /src/components/settings_modal/helpers/boolean_setting.vue | |
| parent | 5faca01261a3babe9eab982a69404386875d596b (diff) | |
add a quick settings menu for timeline headers
Diffstat (limited to 'src/components/settings_modal/helpers/boolean_setting.vue')
| -rw-r--r-- | src/components/settings_modal/helpers/boolean_setting.vue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/settings_modal/helpers/boolean_setting.vue b/src/components/settings_modal/helpers/boolean_setting.vue index b600b63b..146ad6c1 100644 --- a/src/components/settings_modal/helpers/boolean_setting.vue +++ b/src/components/settings_modal/helpers/boolean_setting.vue @@ -4,13 +4,13 @@ > <Checkbox :checked="state" - @change="update" :disabled="disabled" + @change="update" > <span v-if="!!$slots.default" class="label" - > + > <slot /> </span> <ModifiedIndicator :changed="isChanged" /> @@ -23,14 +23,14 @@ import { get, set } from 'lodash' import Checkbox from 'src/components/checkbox/checkbox.vue' import ModifiedIndicator from './modified_indicator.vue' export default { - props: [ - 'path', - 'disabled' - ], components: { Checkbox, ModifiedIndicator }, + props: [ + 'path', + 'disabled' + ], computed: { pathDefault () { const [firstSegment, ...rest] = this.path.split('.') |
