lint
This commit is contained in:
parent
2c6df0887f
commit
1b59cb3bdf
3 changed files with 84 additions and 25 deletions
|
|
@ -17,6 +17,7 @@ import {
|
|||
LOCAL_ONLY_KEYS,
|
||||
ROOT_CONFIG,
|
||||
ROOT_CONFIG_DEFINITIONS,
|
||||
validateSetting,
|
||||
} from 'src/modules/default_config_state.js'
|
||||
import {
|
||||
newExporter,
|
||||
|
|
@ -164,7 +165,7 @@ const SettingsModal = {
|
|||
})
|
||||
})
|
||||
} else {
|
||||
const definition = ROOT_CONFIG_DEFINITIONS[entry]
|
||||
const definition = ROOT_CONFIG_DEFINITIONS[path]
|
||||
|
||||
const finalValue = validateSetting({
|
||||
path: `simple.${path}`,
|
||||
|
|
|
|||
|
|
@ -5,18 +5,10 @@ import { useLocalConfigStore } from 'src/stores/local_config.js'
|
|||
import { useSyncConfigStore } from 'src/stores/sync_config.js'
|
||||
|
||||
import {
|
||||
INSTANCE_DEFAULT_CONFIG,
|
||||
LOCAL_DEFAULT_CONFIG,
|
||||
LOCAL_ONLY_KEYS,
|
||||
THEME_CONFIG,
|
||||
ROOT_CONFIG,
|
||||
} from 'src/modules/default_config_state.js'
|
||||
|
||||
const ROOT_CONFIG = {
|
||||
...INSTANCE_DEFAULT_CONFIG,
|
||||
...LOCAL_DEFAULT_CONFIG,
|
||||
...THEME_CONFIG,
|
||||
}
|
||||
|
||||
export const useMergedConfigStore = defineStore('merged_config', {
|
||||
getters: {
|
||||
mergedConfig: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue