Revert "Revert "fix(router): fix a problem with router not responding to back button (#30160)" (#30320)" (#30344)

This reverts commit 8ced321bb6.

PR Close #30344
This commit is contained in:
Jason Aden 2019-05-08 16:05:31 -07:00 committed by Alex Rickabaugh
parent 0fd9d086e4
commit 79d4b16f8a
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}