Commit 7446adbf051e31dab0b420a4d37fc0e6fb84d2fa

Authored by Igor Kulikov
Committed by GitHub
2 parents 36cda0f0 10c742a9

Merge pull request #5281 from ChantsovaEkaterina/improvement/shared-home-components-in-custom-dialog

[3.3.2] 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,
... ...