From faa90eccd363b635b84be2162376645d6a83ad55 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Wed, 1 Mar 2023 01:26:13 -0300 Subject: feat: Crash Handler (#531) Co-authored-by: Ven --- src/api/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/settings.ts') 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 -- cgit