Skip to content

Commit beab06f

Browse files
committed
fix(nav): controller is initialized
1 parent 9506a78 commit beab06f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/nav/test/basic/app-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export class FirstPage {
258258
}
259259

260260

261-
@Component({template: ''})
261+
@Component({template: '<ion-content></ion-content>'})
262262
export class RedirectPage {
263263
constructor(public navCtrl: NavController) { }
264264
ionViewDidEnter() {

src/navigation/nav-controller-base.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ export class NavControllerBase extends Ion implements NavController {
177177
ti.resolve = (hasCompleted: boolean, isAsync: boolean, enteringName: string, leavingName: string, direction: string) => {
178178
// transition has successfully resolved
179179
this._trnsId = null;
180+
this._init = true;
180181
resolve && resolve(hasCompleted, isAsync, enteringName, leavingName, direction);
181182

182183
// let's see if there's another to kick off

0 commit comments

Comments
 (0)