Commit 10c742a97682557a05789f2cbde8ddc123cf5baf

Authored by Chantsova Ekaterina
1 parent 3f000106

UI: ability to use shared home components in custom dialog

... ... @@ -28,6 +28,7 @@ import {
28 28 CustomDialogContainerComponent,
29 29 CustomDialogContainerData
30 30 } from '@home/components/widget/dialog/custom-dialog-container.component';
  31 +import { SharedHomeComponentsModule } from '@home/components/shared-home-components.module';
31 32
32 33 @Injectable()
33 34 export class CustomDialogService {
... ... @@ -44,7 +45,7 @@ export class CustomDialogService {
44 45 return this.dynamicComponentFactoryService.createDynamicComponentFactory(
45 46 class CustomDialogComponentInstance extends CustomDialogComponent {},
46 47 template,
47   - [SharedModule, CustomDialogModule]).pipe(
  48 + [SharedModule, CustomDialogModule, SharedHomeComponentsModule]).pipe(
48 49 mergeMap((factory) => {
49 50 const dialogData: CustomDialogContainerData = {
50 51 controller,
... ...