show only the dependants that are enabled (#111)

main
Stijn van der Kolk 2 years ago committed by GitHub
parent 9d6021f0b9
commit beb9aae26b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) || [];
}

Loading…
Cancel
Save