show only the dependants that are enabled (#111)
This commit is contained in:

committed by
GitHub

parent
9d6021f0b9
commit
beb9aae26b
@ -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) || [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user