Browse Source

Improve custom dialog container

pull/2802/head
Igor Kulikov 6 years ago
parent
commit
56fb09b9f1
  1. 4
      ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog-container.component.ts

4
ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog-container.component.ts

@ -18,7 +18,7 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import {
Component,
ComponentFactory,
ComponentRef,
ComponentRef, HostBinding,
Inject,
Injector,
OnDestroy,
@ -46,6 +46,8 @@ export interface CustomDialogContainerData {
})
export class CustomDialogContainerComponent extends DialogComponent<CustomDialogContainerComponent> implements OnDestroy {
@HostBinding('style.height') height = '0px';
private readonly customComponentRef: ComponentRef<CustomDialogComponent>;
constructor(protected store: Store<AppState>,

Loading…
Cancel
Save