Skip to content

Commit

Permalink
fix(nav): tabs should not dereg child navs
Browse files Browse the repository at this point in the history
Closes #6267
  • Loading branch information
adamdbradley committed Apr 21, 2016
1 parent 96ef75a commit f3ddb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ionic/components/nav/nav-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ export class NavController extends Ion {
}
this._views.length = 0;

if (this.parent) {
if (this.parent && this.parent.unregisterChildNav) {
this.parent.unregisterChildNav(this);
}
}
Expand Down

0 comments on commit f3ddb0b

Please sign in to comment.