From e50c2fafa5ba55f3c71968971303c102e11cdbe5 Mon Sep 17 00:00:00 2001 From: V Date: Thu, 11 May 2023 02:38:59 +0200 Subject: [PATCH] Settings > Plugins: Hide API plugins --- src/components/PluginSettings/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index 7679c015..3fb9bb44 100644 --- a/src/components/PluginSettings/index.tsx +++ b/src/components/PluginSettings/index.tsx @@ -260,6 +260,9 @@ export default ErrorBoundary.wrap(function PluginSettings() { requiredPlugins = []; for (const p of sortedPlugins) { + if (!p.options && p.name.endsWith("API") && searchValue.value !== "API") + continue; + if (!pluginFilter(p)) continue; const isRequired = p.required || depMap[p.name]?.some(d => settings.plugins[d].enabled);