Browse Source
Merge pull request #8037 from ChantsovaEkaterina/bug/other-modules-not-included-when-loading-resource-as-module
Fix loading widget resources, when one of the resources is marked as module
pull/8057/head
Igor Kulikov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/widget/widget-component.service.ts
|
|
@ -340,7 +340,7 @@ export class WidgetComponentService { |
|
|
factories: modulesWithFactoriesList.map(mf => mf.factories).flat() |
|
|
factories: modulesWithFactoriesList.map(mf => mf.factories).flat() |
|
|
}; |
|
|
}; |
|
|
if (modules && modules.length) { |
|
|
if (modules && modules.length) { |
|
|
resModulesWithFactories.modules.concat(modules); |
|
|
resModulesWithFactories.modules = resModulesWithFactories.modules.concat(modules); |
|
|
} |
|
|
} |
|
|
return resModulesWithFactories; |
|
|
return resModulesWithFactories; |
|
|
} |
|
|
} |
|
|
|