diff options
Diffstat (limited to 'src/api/settings.ts')
-rw-r--r-- | src/api/settings.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/settings.ts b/src/api/settings.ts index d05afcd..c551df0 100644 --- a/src/api/settings.ts +++ b/src/api/settings.ts @@ -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 |