Skip to content

Commit

Permalink
Revert "Revert "fix(router): fix a problem with router not responding…
Browse files Browse the repository at this point in the history
… to back button (angular#30160)" (angular#30320)" (angular#30344)

This reverts commit 8ced321.

PR Close angular#30344
  • Loading branch information
jasonaden authored and BioPhoton committed May 21, 2019
1 parent 882e0db commit 8015c18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/router/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ export class Router {
* way the next navigation will be coming from the current URL in the browser.
*/
this.rawUrlTree = t.rawUrl;
this.browserUrlTree = t.urlAfterRedirects;
t.resolve(null);
return EMPTY;
}
Expand Down

0 comments on commit 8015c18

Please sign in to comment.