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
This commit is contained in:
commit
7446adbf05
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user