aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/PluginSettings/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx
index f8cb73c..bc28cfe 100644
--- a/src/components/PluginSettings/index.tsx
+++ b/src/components/PluginSettings/index.tsx
@@ -230,5 +230,5 @@ function makeDependencyList(deps: string[]) {
}
function dependencyCheck(pluginName: string, depMap: Record<string, string[]>): string[] {
- return depMap[pluginName] || [];
+ return depMap[pluginName]?.filter(d => Settings.plugins[d].enabled) || [];
}