fix(nav): tabs should not dereg child navs

Closes #6267
This commit is contained in:
Adam Bradley
2016-04-21 11:15:20 -05:00
parent 96ef75a10a
commit f3ddb0bfd1

View File

@@ -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);
}
}