more settings made local-only

This commit is contained in:
Henry Jameson 2026-03-06 13:33:28 +02:00
commit eb7cff467e
8 changed files with 24 additions and 3 deletions

View file

@ -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()
},

View file

@ -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"