This commit is contained in:
2025-08-02 11:20:01 +03:00
parent feb351424e
commit 09feab1c42
18 changed files with 95 additions and 85 deletions

View File

@@ -84,20 +84,20 @@
import pnTimeZoneSelector from 'components/pnTimeZoneSelector.vue'
const settingsStore = useSettingsStore()
const locale = ref('')
const localeBot = ref('')
const localeOptions = settingsStore.supportLocale
const locale = ref('')
watch(locale, async (newValue) => {
await settingsStore.updateSettings({ locale: newValue })
})
const localeBot = ref('')
watch(localeBot, async (newValue) => {
await settingsStore.updateSettings({ localeBot: newValue })
})
const fontSize = ref(14)
const fontSize = ref(16)
const fontSizeOptions = settingsStore.supportFontSizes
const fontSizeLabel = computed(() =>
fontSizeOptions.find(el => el.value === fontSize.value)?.label ?? ''