setOption pass 1
This commit is contained in:
parent
f62e0c5718
commit
6124d9c04c
12 changed files with 39 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue