Don't update the location during initial router navigation

Closes #6069
This commit is contained in:
Jay Phelps 2015-12-21 20:30:59 -08:00 committed by Misko Hevery
parent 32b37432b0
commit d5066a9a0f
1 changed files with 1 additions and 1 deletions

View File

@ -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> {