Don't update the location during initial router navigation
Closes #6069
This commit is contained in:
parent
32b37432b0
commit
d5066a9a0f
|
@ -518,7 +518,7 @@ export class RootRouter extends Router {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.registry.configFromComponent(primaryComponent);
|
this.registry.configFromComponent(primaryComponent);
|
||||||
this.navigateByUrl(location.path());
|
this.navigateByUrl(location.path(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
commit(instruction: Instruction, _skipLocationChange: boolean = false): Promise<any> {
|
commit(instruction: Instruction, _skipLocationChange: boolean = false): Promise<any> {
|
||||||
|
|
Loading…
Reference in New Issue