mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a4572c3b12
Previously, the example in the `router` guide was not preserving the query params after logging in. This commit fixes this by using `navigate` instead of using `navigateByUrl`, which ignores any properties in the `NavigationExtras` that would change the provided URL. Fixes 34917 PR Close #35176