diff --git a/ui-ngx/src/app/modules/home/components/widget/widget-component.service.ts b/ui-ngx/src/app/modules/home/components/widget/widget-component.service.ts index 21430038a2..ed518ee54a 100644 --- a/ui-ngx/src/app/modules/home/components/widget/widget-component.service.ts +++ b/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() }; if (modules && modules.length) { - resModulesWithFactories.modules.concat(modules); + resModulesWithFactories.modules = resModulesWithFactories.modules.concat(modules); } return resModulesWithFactories; }