We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b0e2e commit 16609aaCopy full SHA for 16609aa
src/appConfig.ts
@@ -74,14 +74,15 @@ export const loadAppConfig = (appConfig: AppConfig) => {
74
if (value) {
75
disabledSettings.value.add(key)
76
// since the setting is forced, we need to set it to that value
77
- if (appConfig.defaultSettings?.[key] && !qsOptions[key]) {
+ if (appConfig.defaultSettings && key in appConfig.defaultSettings && !qsOptions[key]) {
78
options[key] = appConfig.defaultSettings[key]
79
}
80
} else {
81
disabledSettings.value.delete(key)
82
83
84
85
+ // todo apply defaultSettings to defaults even if not forced in case of remote config
86
87
if (appConfig.keybindings) {
88
Object.assign(customKeymaps, defaultsDeep(appConfig.keybindings, customKeymaps))
0 commit comments