File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11< div class ="mdc-dialog__container ">
22 < div class ="mat-mdc-dialog-surface mdc-dialog__surface ">
3- < ng-template cdkPortalOutlet > </ ng-template >
3+ < ng-template cdkPortalOutlet / >
44 </ div >
55</ div >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import {MatDialogConfig} from './dialog-config';
2525import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations' ;
2626import { CdkDialogContainer } from '@angular/cdk/dialog' ;
2727import { coerceNumberProperty } from '@angular/cdk/coercion' ;
28- import { ComponentPortal , PortalModule } from '@angular/cdk/portal' ;
28+ import { CdkPortalOutlet , ComponentPortal } from '@angular/cdk/portal' ;
2929
3030/** Event that captures the state of dialog container animations. */
3131interface LegacyDialogAnimationEvent {
@@ -57,7 +57,7 @@ export const CLOSE_ANIMATION_DURATION = 75;
5757 // tslint:disable-next-line:validate-decorators
5858 changeDetection : ChangeDetectionStrategy . Default ,
5959 standalone : true ,
60- imports : [ PortalModule ] ,
60+ imports : [ CdkPortalOutlet ] ,
6161 host : {
6262 'class' : 'mat-mdc-dialog-container mdc-dialog' ,
6363 'tabindex' : '-1' ,
You can’t perform that action at this time.
0 commit comments