show only the dependants that are enabled (#111)

This commit is contained in:
Stijn van der Kolk 2022-10-18 09:53:01 +02:00 committed by GitHub
parent 9d6021f0b9
commit beb9aae26b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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