From 10c742a97682557a05789f2cbde8ddc123cf5baf Mon Sep 17 00:00:00 2001 From: Chantsova Ekaterina Date: Fri, 24 Sep 2021 17:53:46 +0300 Subject: [PATCH] UI: ability to use shared home components in custom dialog --- .../home/components/widget/dialog/custom-dialog.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.service.ts b/ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.service.ts index bcd0c00d82..ac41188485 100644 --- a/ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.service.ts +++ b/ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.service.ts @@ -28,6 +28,7 @@ import { CustomDialogContainerComponent, CustomDialogContainerData } from '@home/components/widget/dialog/custom-dialog-container.component'; +import { SharedHomeComponentsModule } from '@home/components/shared-home-components.module'; @Injectable() export class CustomDialogService { @@ -44,7 +45,7 @@ export class CustomDialogService { return this.dynamicComponentFactoryService.createDynamicComponentFactory( class CustomDialogComponentInstance extends CustomDialogComponent {}, template, - [SharedModule, CustomDialogModule]).pipe( + [SharedModule, CustomDialogModule, SharedHomeComponentsModule]).pipe( mergeMap((factory) => { const dialogData: CustomDialogContainerData = { controller,