Skip to content

Commit

Permalink
fix(nav): controller is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Nov 4, 2016
1 parent 9506a78 commit beab06f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/nav/test/basic/app-module.ts
Expand Up @@ -258,7 +258,7 @@ export class FirstPage {
}


@Component({template: ''})
@Component({template: '<ion-content></ion-content>'})
export class RedirectPage {
constructor(public navCtrl: NavController) { }
ionViewDidEnter() {
Expand Down
1 change: 1 addition & 0 deletions src/navigation/nav-controller-base.ts
Expand Up @@ -177,6 +177,7 @@ export class NavControllerBase extends Ion implements NavController {
ti.resolve = (hasCompleted: boolean, isAsync: boolean, enteringName: string, leavingName: string, direction: string) => {
// transition has successfully resolved
this._trnsId = null;
this._init = true;
resolve && resolve(hasCompleted, isAsync, enteringName, leavingName, direction);

// let's see if there's another to kick off
Expand Down

0 comments on commit beab06f

Please sign in to comment.