Skip to content

Commit

Permalink
fix(docs): fix top menu redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
nnixaa committed Jun 28, 2017
1 parent 1ecdc61 commit d5f1a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/app/docs/docs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class ReactDocsComponent implements OnInit, AfterViewInit, OnDestroy {
.subscribe((event) => {
let firstMenuItem = this.menuItems.get(0).children.get(0);
this.menuInternalService.itemSelect(firstMenuItem);
this.router.navigateByUrl(firstMenuItem.link);
this.router.navigateByUrl(firstMenuItem.link, {replaceUrl: true});
});

this.menuService.onItemSelect().subscribe((event: {tag: string, item: any}) => {
Expand Down

0 comments on commit d5f1a6a

Please sign in to comment.