File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
< div class ="mdc-dialog__container ">
2
2
< div class ="mat-mdc-dialog-surface mdc-dialog__surface ">
3
- < ng-template cdkPortalOutlet > </ ng-template >
3
+ < ng-template cdkPortalOutlet / >
4
4
</ div >
5
5
</ div >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import {MatDialogConfig} from './dialog-config';
25
25
import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations' ;
26
26
import { CdkDialogContainer } from '@angular/cdk/dialog' ;
27
27
import { coerceNumberProperty } from '@angular/cdk/coercion' ;
28
- import { ComponentPortal , PortalModule } from '@angular/cdk/portal' ;
28
+ import { CdkPortalOutlet , ComponentPortal } from '@angular/cdk/portal' ;
29
29
30
30
/** Event that captures the state of dialog container animations. */
31
31
interface LegacyDialogAnimationEvent {
@@ -57,7 +57,7 @@ export const CLOSE_ANIMATION_DURATION = 75;
57
57
// tslint:disable-next-line:validate-decorators
58
58
changeDetection : ChangeDetectionStrategy . Default ,
59
59
standalone : true ,
60
- imports : [ PortalModule ] ,
60
+ imports : [ CdkPortalOutlet ] ,
61
61
host : {
62
62
'class' : 'mat-mdc-dialog-container mdc-dialog' ,
63
63
'tabindex' : '-1' ,
You can’t perform that action at this time.
0 commit comments