more settings made local-only
This commit is contained in:
parent
44ae68b025
commit
eb7cff467e
8 changed files with 24 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||
import Popover from 'src/components/popover/popover.vue'
|
||||
import Select from '../select/select.vue'
|
||||
import LocalSettingIndicator from 'src/components/settings_modal/helpers/local_setting_indicator.vue'
|
||||
|
||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||
|
||||
|
|
@ -18,8 +19,9 @@ export default {
|
|||
Select,
|
||||
Checkbox,
|
||||
Popover,
|
||||
LocalSettingIndicator,
|
||||
},
|
||||
props: ['name', 'label', 'modelValue', 'fallback', 'options', 'no-inherit'],
|
||||
props: ['name', 'label', 'modelValue', 'fallback', 'options', 'no-inherit', 'isLocal'],
|
||||
mounted() {
|
||||
useInterfaceStore().queryLocalFonts()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@
|
|||
:model-value="present"
|
||||
@change="$emit('update:modelValue', typeof modelValue === 'undefined' ? fallback : undefined)"
|
||||
>
|
||||
<LocalSettingIndicator :is-local="isLocal" />
|
||||
{{ ' ' }}
|
||||
<i18n-t
|
||||
scope="global"
|
||||
keypath="settings.style.fonts.override"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue