diff options
| author | V <vendicated@riseup.net> | 2023-05-11 02:38:59 +0200 |
|---|---|---|
| committer | V <vendicated@riseup.net> | 2023-05-11 02:38:59 +0200 |
| commit | e50c2fafa5ba55f3c71968971303c102e11cdbe5 (patch) | |
| tree | a163874e6be0bae915900339e3303be3735dcf44 /src | |
| parent | 6e3cafce42ea4eee7e1103225ebe5cb9931967e1 (diff) | |
| download | Vencord-e50c2fafa5ba55f3c71968971303c102e11cdbe5.tar.gz Vencord-e50c2fafa5ba55f3c71968971303c102e11cdbe5.tar.bz2 Vencord-e50c2fafa5ba55f3c71968971303c102e11cdbe5.zip | |
Settings > Plugins: Hide API plugins
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/PluginSettings/index.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index 7679c01..3fb9bb4 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); |
