Skip to content

Commit 9111727

Browse files
fix(ng2.uiSrefStatus): Avoid "dehydrated detector" error
Made the uiSrefStatus EventEmitter synchronous. Closes #2684
1 parent 7522c26 commit 9111727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng2/uiSrefStatus.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class UiSrefStatus {
4343
private _deregisterHook;
4444

4545
// current statuses of the state/params the uiSref directive is linking to
46-
@Output("uiSrefStatus") uiSrefStatus = new EventEmitter<SrefStatus>();
46+
@Output("uiSrefStatus") uiSrefStatus = new EventEmitter<SrefStatus>(false);
4747

4848
status: SrefStatus = {
4949
active: false,

0 commit comments

Comments
 (0)