Settings > Plugins: Hide API plugins
This commit is contained in:
parent
6e3cafce42
commit
e50c2fafa5
1 changed files with 3 additions and 0 deletions
|
@ -260,6 +260,9 @@ export default ErrorBoundary.wrap(function PluginSettings() {
|
||||||
requiredPlugins = [];
|
requiredPlugins = [];
|
||||||
|
|
||||||
for (const p of sortedPlugins) {
|
for (const p of sortedPlugins) {
|
||||||
|
if (!p.options && p.name.endsWith("API") && searchValue.value !== "API")
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!pluginFilter(p)) continue;
|
if (!pluginFilter(p)) continue;
|
||||||
|
|
||||||
const isRequired = p.required || depMap[p.name]?.some(d => settings.plugins[d].enabled);
|
const isRequired = p.required || depMap[p.name]?.some(d => settings.plugins[d].enabled);
|
||||||
|
|
Loading…
Reference in a new issue