Skip to content

Commit

Permalink
refactor(cdk/dialog): replace left-over module imports with standalon…
Browse files Browse the repository at this point in the history
…e equivalents
  • Loading branch information
nikos-moysiadis committed Nov 28, 2023
1 parent 02db80d commit fb7bf62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cdk/dialog/dialog-container.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<ng-template cdkPortalOutlet></ng-template>
<ng-template cdkPortalOutlet />
3 changes: 1 addition & 2 deletions src/cdk/dialog/dialog-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
CdkPortalOutlet,
ComponentPortal,
DomPortal,
PortalModule,
TemplatePortal,
} from '@angular/cdk/portal';
import {DOCUMENT} from '@angular/common';
Expand Down Expand Up @@ -56,7 +55,7 @@ export function throwDialogContentAlreadyAttachedError() {
// tslint:disable-next-line:validate-decorators
changeDetection: ChangeDetectionStrategy.Default,
standalone: true,
imports: [PortalModule],
imports: [CdkPortalOutlet],
host: {
'class': 'cdk-dialog-container',
'tabindex': '-1',
Expand Down

0 comments on commit fb7bf62

Please sign in to comment.