parent
c91b0df607
commit
faa90eccd3
8 changed files with 182 additions and 27 deletions
|
|
@ -92,7 +92,7 @@ function makeProxy(settings: any, root = settings, path = ""): Settings {
|
|||
// Return empty for plugins with no settings
|
||||
if (path === "plugins" && p in plugins)
|
||||
return target[p] = makeProxy({
|
||||
enabled: plugins[p].required ?? false
|
||||
enabled: plugins[p].required ?? plugins[p].enabledByDefault ?? false
|
||||
}, root, `plugins.${p}`);
|
||||
|
||||
// Since the property is not set, check if this is a plugin's setting and if so, try to resolve
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue