setOption pass 1

This commit is contained in:
Henry Jameson 2026-02-16 02:24:44 +02:00
commit 6124d9c04c
12 changed files with 39 additions and 40 deletions

View file

@ -74,7 +74,7 @@ export default {
created() {
// Load the locale from the storage
const val = useSyncConfigStore().mergedConfig.interfaceLanguage
this.$store.dispatch('setOption', { name: 'interfaceLanguage', value: val })
useSyncConfigStore().setPreference({ path: 'simple.interfaceLanguage', value: val })
document.getElementById('modal').classList = ['-' + this.layoutType]
// Create bound handlers