diff --git a/src/components/font_control/font_control.js b/src/components/font_control/font_control.js index 45e5fde81..c52c31bfe 100644 --- a/src/components/font_control/font_control.js +++ b/src/components/font_control/font_control.js @@ -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() }, diff --git a/src/components/font_control/font_control.vue b/src/components/font_control/font_control.vue index 5124fd53a..06bd07edf 100644 --- a/src/components/font_control/font_control.vue +++ b/src/components/font_control/font_control.vue @@ -8,6 +8,8 @@ :model-value="present" @change="$emit('update:modelValue', typeof modelValue === 'undefined' ? fallback : undefined)" > + + {{ ' ' }} {{ $t('settings.debug') }}