Skip to content

Commit 575332c

Browse files
authored
fix(material/dialog): use quoted keys in the animation state object (#24594)
Use quoted keys for the return value of `_getAnimationState`. This resolves an internal issue.
1 parent cc61122 commit 575332c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material/dialog/dialog-container.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,9 @@ export class MatDialogContainer extends _MatDialogContainerBase {
365365
return {
366366
value: this._state,
367367
params: {
368-
enterAnimationDuration:
368+
'enterAnimationDuration':
369369
this._config.enterAnimationDuration || defaultParams.params.enterAnimationDuration,
370-
exitAnimationDuration:
370+
'exitAnimationDuration':
371371
this._config.exitAnimationDuration || defaultParams.params.exitAnimationDuration,
372372
},
373373
};

0 commit comments

Comments
 (0)