Skip to content

Commit

Permalink
fix(ng2.uiSrefStatus): Avoid "dehydrated detector" error
Browse files Browse the repository at this point in the history
Made the uiSrefStatus EventEmitter synchronous.
Closes #2684
  • Loading branch information
christopherthielen committed Apr 11, 2016
1 parent 7522c26 commit 9111727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng2/uiSrefStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class UiSrefStatus {
private _deregisterHook;

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

status: SrefStatus = {
active: false,
Expand Down

0 comments on commit 9111727

Please sign in to comment.