-
Notifications
You must be signed in to change notification settings - Fork 25.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(router): runs guards every time when unsuccessfully navigating to… #13209
Conversation
@@ -387,8 +387,17 @@ export class Router { | |||
// which does not work properly with zone.js in IE and Safari | |||
this.locationSubscription = <any>this.location.subscribe(Zone.current.wrap((change: any) => { | |||
const rawUrlTree = this.urlSerializer.parse(change['url']); | |||
const lastNavigation = this.navigations.value; | |||
|
|||
// TODO add a comment describing why it has to be like that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO ?
extras: NavigationExtras, | ||
resolve: any, | ||
reject: any, | ||
promise: Promise<boolean> | ||
imperative: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also never remember if it should be ,/; in types but here you have ""/,/;, must be wrong
eebaba0
to
2438965
Compare
… the same url over and over again
… the same url over and over again (angular#13209)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Closes #12851