Skip to content

Commit 27e33e0

Browse files
fix(cdk-dialog): decorate dialog as an injectable (#10052)
1 parent 1869730 commit 27e33e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cdk-experimental/dialog/dialog.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
TemplateRef,
1111
SkipSelf,
1212
Optional,
13+
Injectable,
1314
Injector,
1415
Inject,
1516
ComponentRef
@@ -44,6 +45,7 @@ import {
4445
/**
4546
* Service to open modal dialogs.
4647
*/
48+
@Injectable()
4749
export class Dialog {
4850
/** Stream that emits when all dialogs are closed. */
4951
get _afterAllClosed(): Observable<void> {

0 commit comments

Comments
 (0)