Skip to content

Commit f3ddb0b

Browse files
committed
fix(nav): tabs should not dereg child navs
Closes #6267
1 parent 96ef75a commit f3ddb0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ionic/components/nav/nav-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ export class NavController extends Ion {
13991399
}
14001400
this._views.length = 0;
14011401

1402-
if (this.parent) {
1402+
if (this.parent && this.parent.unregisterChildNav) {
14031403
this.parent.unregisterChildNav(this);
14041404
}
14051405
}

0 commit comments

Comments
 (0)