Settings > Plugins: Hide API plugins

This commit is contained in:
V 2023-05-11 02:38:59 +02:00
parent 6e3cafce42
commit e50c2fafa5
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

View File

@ -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);