show only the dependants that are enabled (#111)
This commit is contained in:
parent
9d6021f0b9
commit
beb9aae26b
1 changed files with 1 additions and 1 deletions
|
@ -230,5 +230,5 @@ function makeDependencyList(deps: string[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function dependencyCheck(pluginName: string, depMap: Record<string, string[]>): string[] {
|
function dependencyCheck(pluginName: string, depMap: Record<string, string[]>): string[] {
|
||||||
return depMap[pluginName] || [];
|
return depMap[pluginName]?.filter(d => Settings.plugins[d].enabled) || [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue