Don't include module if explicitly disabled in config
This commit is contained in:
parent
9202ecf104
commit
5870489f38
1 changed files with 4 additions and 0 deletions
|
|
@ -95,6 +95,10 @@ function modules() {
|
|||
}
|
||||
|
||||
function withVariants(module, variants) {
|
||||
if (variants === false) {
|
||||
return []
|
||||
}
|
||||
|
||||
return _.reduce(
|
||||
variants,
|
||||
(result, variant) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue